This commit is contained in:
@@ -15,9 +15,9 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void InactiveUserCantLogin()
|
||||
{
|
||||
dynamic creds = new JObject();
|
||||
creds.password = creds.login = "TEST_INACTIVE";
|
||||
ApiResponse a = await Util.PostAsync("Auth", null, creds.ToString());
|
||||
dynamic DCreds = new JObject();
|
||||
DCreds.password = DCreds.login = "TEST_INACTIVE";
|
||||
ApiResponse a = await Util.PostAsync("Auth", null, DCreds.ToString());
|
||||
Util.ValidateErrorCodeResponse(a,2004, 401);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user