* Add switchDB by tests.
This commit is contained in:
Regular → Executable
+4
-1
@@ -10,6 +10,9 @@ title=测试 apiModel->createStruct();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
创建数据结构 >> struct
|
||||
创建没有结构名的数据结构 >> 『Name』should not be blank.
|
||||
|
||||
*/
|
||||
|
||||
global $tester;
|
||||
@@ -32,4 +35,4 @@ $normalStruct->addedBy = $tester->app->user->account;
|
||||
$normalStruct->addedDate = helper::now();
|
||||
|
||||
r($api->createStructTest($normalStruct)) && p('name') && e('struct'); //创建数据结构
|
||||
r($api->createStructTest($emptyNameStruct)) && p('name:0') && e('『Name』should not be blank.'); //创建没有结构名的数据结构
|
||||
r($api->createStructTest($emptyNameStruct)) && p('name:0') && e('『Name』should not be blank.'); //创建没有结构名的数据结构
|
||||
Reference in New Issue
Block a user