Changing an error string in the tests due to identity change.
This commit is contained in:
parent
9e68b43069
commit
86ab6b7256
|
|
@ -174,7 +174,7 @@ namespace E2ETests
|
||||||
var content = new FormUrlEncodedContent(formParameters.ToArray());
|
var content = new FormUrlEncodedContent(formParameters.ToArray());
|
||||||
response = _httpClient.PostAsync("Account/Register", content).Result;
|
response = _httpClient.PostAsync("Account/Register", content).Result;
|
||||||
responseContent = response.Content.ReadAsStringAsync().Result;
|
responseContent = response.Content.ReadAsStringAsync().Result;
|
||||||
Assert.Contains(string.Format("UserName '{0}' is already taken.", email), responseContent, StringComparison.OrdinalIgnoreCase);
|
Assert.Contains(string.Format("User name '{0}' is already taken.", email), responseContent, StringComparison.OrdinalIgnoreCase);
|
||||||
_logger.WriteInformation("Identity threw a valid exception that user '{0}' already exists in the system", email);
|
_logger.WriteInformation("Identity threw a valid exception that user '{0}' already exists in the system", email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue