* [refac] Split xxx.unittest.class.php into model.class.php, tao.class.php and zen.class.php.
This commit is contained in:
@@ -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人)'); // 看板项目数据查询
|
||||
|
||||
Reference in New Issue
Block a user