* [refac] Split xxx.unittest.class.php into model.class.php, tao.class.php and zen.class.php.

This commit is contained in:
liugang
2026-01-14 15:32:47 +08:00
parent 1940c61846
commit 1503f91b2b
3522 changed files with 66017 additions and 28160 deletions
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/execution.unittest.class.php';
include dirname(__FILE__, 2) . '/lib/model.class.php';
zenData('user')->gen(5);
su('admin');
@@ -19,7 +19,7 @@ cid=16306
$projectIDList = array(11, 60, 100);
$count = array(0, 1);
$executionTester = new executionTest();
$executionTester = new executionModelTest();
r($executionTester->getCanCopyObjectsTest($projectIDList[0], $count[0])) && p('11') && e('敏捷项目1(1人)'); // 敏捷项目数据查询
r($executionTester->getCanCopyObjectsTest($projectIDList[1], $count[0])) && p('60') && e('瀑布项目2(1人)'); // 瀑布项目数据查询
r($executionTester->getCanCopyObjectsTest($projectIDList[2], $count[0])) && p('126') && e('看板30(1人)'); // 看板项目数据查询