* Add switchDB by tests.
This commit is contained in:
@@ -9,7 +9,9 @@ title=测试 programModel::getParentPairs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
>> 11
|
||||
获取所有父项目集的数量 >> 7
|
||||
获取瀑布类型父项目集的数量 >> 1
|
||||
获取ID为1的父项目集的名称 >> /项目集1
|
||||
|
||||
*/
|
||||
|
||||
@@ -20,4 +22,4 @@ $program2 = $tester->program->getParentPairs('waterfall');
|
||||
|
||||
r(count($program1)) && p() && e('7'); // 获取所有父项目集的数量
|
||||
r(count($program2)) && p() && e('1'); // 获取瀑布类型父项目集的数量
|
||||
r($program1) && p('1') && e('/项目集1'); // 获取ID为1的父项目集的名称
|
||||
r($program1) && p('1') && e('/项目集1'); // 获取ID为1的父项目集的名称
|
||||
Reference in New Issue
Block a user