* [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
+2 -2
View File
@@ -16,12 +16,12 @@ cid=17714
*/
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/program.unittest.class.php';
include dirname(__FILE__, 2) . '/lib/model.class.php';
su('admin');
zenData('project')->gen(10);
$programTester = new programTest();
$programTester = new programModelTest();
r($programTester->updateOrderTest(10, 1)) && p('order') && e('1'); // 设置排序是1
r($programTester->updateOrderTest(10, 5)) && p('order') && e('5'); // 设置排序是5