From 6d50b397c0311c3cbaf7331a09b0d0573baa57ae Mon Sep 17 00:00:00 2001 From: Praburaj Date: Wed, 4 Jun 2014 12:45:38 -0700 Subject: [PATCH] The cookie name pointed by DefaultAuthenticationTypes.ApplicationCookie changed This was changed with a recent identity checkin. Fixing this in test which was expecting a different cookie name. --- test/E2ETests/SmokeTests.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/E2ETests/SmokeTests.cs b/test/E2ETests/SmokeTests.cs index 885b0e75b4..94059c59b3 100644 --- a/test/E2ETests/SmokeTests.cs +++ b/test/E2ETests/SmokeTests.cs @@ -165,7 +165,7 @@ namespace E2ETests var content = new FormUrlEncodedContent(formParameters.ToArray()); response = httpClient.PostAsync("/Account/Register", content).Result; responseContent = response.Content.ReadAsStringAsync().Result; - Assert.Null(httpClientHandler.CookieContainer.GetCookies(new Uri(ApplicationBaseUrl)).GetCookieWithName(".AspNet.Microsoft.AspNet.Identity.Security.Application")); + Assert.Null(httpClientHandler.CookieContainer.GetCookies(new Uri(ApplicationBaseUrl)).GetCookieWithName(".AspNet.Microsoft.AspNet.Identity.Application")); Assert.Contains("