From 86ab6b7256a4f8c60bd28aa15f79280b321e3bd4 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Fri, 16 Jan 2015 11:31:05 -0800 Subject: [PATCH] Changing an error string in the tests due to identity change. --- test/E2ETests/Implementation/Scenarios.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/E2ETests/Implementation/Scenarios.cs b/test/E2ETests/Implementation/Scenarios.cs index cc358c74fc..8a4854ee47 100644 --- a/test/E2ETests/Implementation/Scenarios.cs +++ b/test/E2ETests/Implementation/Scenarios.cs @@ -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); }