* Add switchDB by tests.
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user