Uncomment assert for delete cookie test
This commit is contained in:
parent
0ef93b94dc
commit
73d3e2fa2e
|
|
@ -58,9 +58,8 @@ namespace E2ETests
|
||||||
ThrowIfResponseStatusNotOk(response);
|
ThrowIfResponseStatusNotOk(response);
|
||||||
responseContent = response.Content.ReadAsStringAsync().Result;
|
responseContent = response.Content.ReadAsStringAsync().Result;
|
||||||
|
|
||||||
//Correlation cookie not getting cleared after successful signin?
|
//Check correlation cookie not getting cleared after successful signin
|
||||||
//https://github.com/aspnet/Security/issues/69
|
Assert.Null(httpClientHandler.CookieContainer.GetCookies(new Uri(ApplicationBaseUrl))["__TwitterState"]);
|
||||||
//Assert.Null(httpClientHandler.CookieContainer.GetCookies(new Uri(ApplicationBaseUrl))["__TwitterState"]);
|
|
||||||
Assert.Equal(ApplicationBaseUrl + "Account/ExternalLoginCallback?ReturnUrl=%2F", response.RequestMessage.RequestUri.AbsoluteUri);
|
Assert.Equal(ApplicationBaseUrl + "Account/ExternalLoginCallback?ReturnUrl=%2F", response.RequestMessage.RequestUri.AbsoluteUri);
|
||||||
//Twitter does not give back the email claim for some reason.
|
//Twitter does not give back the email claim for some reason.
|
||||||
//Assert.Contains("AspnetvnextTest@gmail.com", responseContent, StringComparison.OrdinalIgnoreCase);
|
//Assert.Contains("AspnetvnextTest@gmail.com", responseContent, StringComparison.OrdinalIgnoreCase);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue