* Add switchDB by tests.
This commit is contained in:
@@ -9,7 +9,7 @@ cid=1
|
||||
pid=1
|
||||
|
||||
通过id字段获取id=1的项目集并验证它的name。 >> 项目集1
|
||||
通过id字段获取id=1000的项目集并验证它的name。 >> Not Found
|
||||
通过id字段获取id=1000的项目集,返回空 >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -19,4 +19,4 @@ $program1 = $tester->program->getById(1);
|
||||
$program2 = $tester->program->getById(1000);
|
||||
|
||||
r($program1) && p('name') && e('项目集1'); // 通过id字段获取id=1的项目集并验证它的name。
|
||||
r($program2) && p() && e('0'); // 通过id字段获取id=1000的项目集,返回空
|
||||
r($program2) && p() && e('0'); // 通过id字段获取id=1000的项目集,返回空
|
||||
Reference in New Issue
Block a user