* 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
@@ -1,13 +1,13 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/execution.class.php';
zdTable('user')->gen(5);
include dirname(__FILE__, 2) . '/lib/execution.unittest.class.php';
zenData('user')->gen(5);
su('admin');
zdTable('team')->gen(0);
zenData('team')->gen(0);
$execution = zdTable('project');
$execution = zenData('project');
$execution->id->range('1-10');
$execution->name->range('项目集1,项目1,项目2,项目3,迭代1,迭代2,阶段1,阶段2,看板1,看板2');
$execution->type->range('program,project{3},sprint{2},stage{2},kanban{2}');