* Fix unit test bug.

This commit is contained in:
wangyuting
2024-03-12 17:09:25 +08:00
parent e1e1757133
commit 27c3c01db1
3 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ include dirname(__FILE__, 2) . '/action.class.php';
zdTable('user')->gen(5);
su('admin');
zdTable('stage')->gen(5);
zdTable('project')->config('project')->gen(5);
zdTable('action')->config('action')->gen(4);
@@ -22,4 +23,4 @@ $action = new actionTest();
$hasDeleted = $action->restoreStagesTest(array(2 => 2, 3 => 3), array(1, 2));
r($hasDeleted) && p('') && e('1'); // 测试还原id为2和3的阶段
r($hasDeleted) && p('') && e('1'); // 测试还原id为2和3的阶段
@@ -18,9 +18,7 @@ fields:
range: "20201101 000000:1D"
type: timestamp
format: "YYYY-MM-DD hh::mm:ss"
postfix: "\t"
- field: lastEditedDate
range: "20220101 000000:1D"
type: timestamp
format: "YYYY-MM-DD"
postfix: "\t"
@@ -18,9 +18,7 @@ fields:
range: "20201101 000000:1D"
type: timestamp
format: "YYYY-MM-DD hh::mm:ss"
postfix: "\t"
- field: lastEditedDate
range: "20220101 000000:1D"
type: timestamp
format: "YYYY-MM-DD"
postfix: "\t"