test: 增加登录用户三次请求返回验证码单元测试
This commit is contained in:
parent
1689a5da92
commit
5f940611aa
|
@ -29,6 +29,12 @@ namespace Bootstrap.Admin.Api.SqlServer
|
|||
{
|
||||
var ret = await Client.PutAsJsonAsync<string, bool>("");
|
||||
Assert.False(ret);
|
||||
|
||||
// 三次 Put 请求后返回真
|
||||
ret = await Client.PutAsJsonAsync<string, bool>("");
|
||||
ret = await Client.PutAsJsonAsync<string, bool>("");
|
||||
ret = await Client.PutAsJsonAsync<string, bool>("");
|
||||
Assert.True(ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue