* Modify unit test directory structure and data generation method.

This commit is contained in:
liyang
2024-04-22 14:25:50 +08:00
parent f909ed2792
commit 354c300c86
2674 changed files with 7803 additions and 7803 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/execution.class.php';
include dirname(__FILE__, 2) . '/lib/execution.unittest.class.php';
$execution = zdTable('project');
$execution = zenData('project');
$execution->id->range('1-5');
$execution->name->range('项目1,项目2,迭代1,迭代2,迭代3');
$execution->type->range('project{2},sprint,waterfall,kanban');
@@ -15,7 +15,7 @@ $execution->begin->range('20230102 000000:0')->type('timestamp')->format('YY/MM/
$execution->end->range('20230212 000000:0')->type('timestamp')->format('YY/MM/DD');
$execution->gen(5);
$task = zdTable('task');
$task = zenData('task');
$task->id->range('1-10');
$task->execution->range('3,4,5');
$task->status->range('wait,doing');