随机昵称
This commit is contained in:
parent
640a8c346c
commit
a7ad82c776
@ -49,13 +49,13 @@ func (r *Robot) AccountLogin() {
|
||||
enabled: true,
|
||||
next: func(rsp proto.Message, handle func(nextCase *TestCase)) {
|
||||
if _, ok := rsp.(*pb.UserLoginResp); ok {
|
||||
nick := randomdata.RandStringRunes(5)
|
||||
nick := randomdata.SillyName()
|
||||
handle(&TestCase{
|
||||
desc: "创角",
|
||||
mainType: string(comm.ModuleUser),
|
||||
subType: user.UserSubTypeCreate,
|
||||
req: &pb.UserCreateReq{ //设置请求参数
|
||||
NickName: "乐谷" + nick,
|
||||
NickName: nick,
|
||||
},
|
||||
rsp: &pb.UserCreateResp{},
|
||||
enabled: true,
|
||||
|
Loading…
Reference in New Issue
Block a user