This commit is contained in:
2018-09-05 19:11:01 +00:00
parent da9814868b
commit 06f1cc1bc9
2 changed files with 48 additions and 3 deletions

View File

@@ -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);
}