This commit is contained in:
Ajay Bhargav Baaskaran 2015-03-03 17:08:57 -08:00
parent 7b8ace5489
commit 38cc9aadb4
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ namespace E2ETests
var content = new FormUrlEncodedContent(formParameters.ToArray());
response = _httpClient.PostAsync("Account/Register", content).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);
}