* Add switchDB by tests.

This commit is contained in:
liyang
2022-08-09 14:11:38 +08:00
parent 40ba4c8a9e
commit 3bd5ccc13f
881 changed files with 3058 additions and 1826 deletions
+3 -2
View File
@@ -9,7 +9,8 @@ title=测试 programModel::setTreePath();
cid=1
pid=1
查找id=12的项目集的path >> ,2,12,
设置之前的项目集的path >> ,2,12,
设置之后的项目集的path >> ,2,12,
*/
@@ -22,4 +23,4 @@ $after = $tester->program->getById(12);
r($before) && p('path') && e(',2,12,'); // 设置之前的项目集的path
r($after) && p('path') && e(',2,12,'); // 设置之后的项目集的path
system('./ztest init');
$db->restoreDB();