* Add batch create user unit test.
This commit is contained in:
@@ -10,15 +10,10 @@ title=userModel->getPairs();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
查找带有Closed用户的外部用户键值对 >> Closed
|
||||
查找带有首字母的外部用户键值对 >> O:用户1
|
||||
查找不带首字母的外部用户键值对 >> 用户1
|
||||
按照给定的用户名查找用户键值对,返回值中不带有Closed用户 >> 1
|
||||
按照给定的用户名查找用户键值对,返回值中带有Closed用户 >> 2
|
||||
使用limit参数来限制最多获取2个用户键值对 >> 2
|
||||
使用limit参数来限制最多获取50个用户键值对 >> 50
|
||||
使用pofirst参数来将系统中的产品经理用户放到返回值前列 >> P:测试主管58
|
||||
使用pmfirst参数来将系统中的项目经理用户放到返回值前列 >> O:其他100
|
||||
查找获取到的用户名为dev33的真实姓名 >> 项目经理33
|
||||
查找获取到的用户名为user10的头像 >> /home/z/tmp/10.png
|
||||
查找获取到的用户名为outside1的外部用户的头像信息 >> /home/z/tmp/18.png
|
||||
查找获取到的用户名为cccfff的真实姓名 >> Error: Cannot get index cccfff.
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +23,4 @@ $user = new userTest();
|
||||
r($user->getUserDisplayInfosTest($accounts)) && p('dev33:realname') && e('项目经理33'); //查找获取到的用户名为dev33的真实姓名
|
||||
r($user->getUserDisplayInfosTest($accounts)) && p('user10:avatar') && e('/home/z/tmp/10.png'); //查找获取到的用户名为user10的头像
|
||||
r($user->getUserDisplayInfosTest($accounts, 0, 'outside')) && p('outside1:avatar') && e('/home/z/tmp/18.png'); //查找获取到的用户名为outside1的外部用户的头像信息
|
||||
r($user->getUserDisplayInfosTest($accounts)) && p('cccfff:realname') && e('Error: Cannot get index cccfff.'); //查找获取到的用户名为cccfff的真实姓名
|
||||
r($user->getUserDisplayInfosTest($accounts)) && p('cccfff:realname') && e('Error: Cannot get index cccfff.'); //查找获取到的用户名为cccfff的真实姓名
|
||||
Reference in New Issue
Block a user