Changing an error string in the tests due to identity change.

This commit is contained in:
Praburaj 2015-01-16 11:31:05 -08:00
parent 9e68b43069
commit 86ab6b7256
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,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("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);
}