Skip to content

Commit 778a8da

Browse files
committed
单元测试调整
1 parent e4d2a3c commit 778a8da

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/stubs/ProfileModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class ProfileModel extends Model
1515
use SoftDelete;
1616

1717
protected $table = 'test_profile';
18+
protected $autoWriteTimestamp = true;
1819

1920
/**
2021
* 用户

tests/stubs/UserModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class UserModel extends Model
1313
{
1414
protected $table = 'test_user';
1515
protected $pk = 'id';
16+
protected $autoWriteTimestamp = false;
1617

1718
/**
1819
* 用户资料

0 commit comments

Comments
 (0)