React to aspnet/Mvc#2076 changes
This commit is contained in:
parent
7b8ace5489
commit
38cc9aadb4
|
|
@ -187,7 +187,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("User name '{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 '{email}' already exists in the system", email);
|
_logger.WriteInformation("Identity threw a valid exception that user '{email}' already exists in the system", email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue