* * Modified testcase of api.
This commit is contained in:
@@ -10,7 +10,7 @@ title=测试 apiModel->publishLib();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
没有版本名的发布 >> 『Version』should not be blank.
|
||||
没有版本名的发布 >> 『版本』不能为空。
|
||||
正常的发布 >> Version1
|
||||
|
||||
*/
|
||||
@@ -32,5 +32,5 @@ $normalRelease->lib = 910;
|
||||
$normalRelease->addedBy = $tester->app->user->account;
|
||||
$normalRelease->addedDate = helper::now();
|
||||
|
||||
r($api->publishLibTest($emptyBuildRelease)) && p('version:0') && e('『Version』should not be blank.'); //没有版本名的发布
|
||||
r($api->publishLibTest($normalRelease)) && p('version') && e('Version1'); //正常的发布
|
||||
r($api->publishLibTest($emptyBuildRelease)) && p('version:0') && e('『版本』不能为空。'); //没有版本名的发布
|
||||
r($api->publishLibTest($normalRelease)) && p('version') && e('Version1'); //正常的发布
|
||||
|
||||
Reference in New Issue
Block a user