Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 7fd15a2

Browse files
committed
Fix tests
1 parent bb73898 commit 7fd15a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Microsoft.Owin.Security.Interop.Test/CookieInteropTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task AspNetCoreWithInteropCookieContainsIdentity()
3535

3636
var dataProtection = DataProtectionProvider.Create(new DirectoryInfo("..\\..\\artifacts"));
3737
var dataProtector = dataProtection.CreateProtector(
38-
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler", // full name of the ASP.NET Core type
38+
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET Core type
3939
Cookies.CookieAuthenticationDefaults.AuthenticationType, "v2");
4040

4141
var interopServer = TestServer.Create(app =>
@@ -89,7 +89,7 @@ public async Task AspNetCoreWithLargeInteropCookieContainsIdentity()
8989

9090
var dataProtection = DataProtectionProvider.Create(new DirectoryInfo("..\\..\\artifacts"));
9191
var dataProtector = dataProtection.CreateProtector(
92-
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler", // full name of the ASP.NET Core type
92+
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET Core type
9393
Cookies.CookieAuthenticationDefaults.AuthenticationType, "v2");
9494

9595
var interopServer = TestServer.Create(app =>
@@ -146,7 +146,7 @@ public async Task InteropWithNewCookieContainsIdentity()
146146

147147
var dataProtection = DataProtectionProvider.Create(new DirectoryInfo("..\\..\\artifacts"));
148148
var dataProtector = dataProtection.CreateProtector(
149-
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler", // full name of the ASP.NET Core type
149+
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET Core type
150150
Cookies.CookieAuthenticationDefaults.AuthenticationType, "v2");
151151

152152
var builder = new WebHostBuilder()
@@ -193,7 +193,7 @@ public async Task InteropWithLargeNewCookieContainsIdentity()
193193

194194
var dataProtection = DataProtectionProvider.Create(new DirectoryInfo("..\\..\\artifacts"));
195195
var dataProtector = dataProtection.CreateProtector(
196-
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler", // full name of the ASP.NET Core type
196+
"Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET Core type
197197
Cookies.CookieAuthenticationDefaults.AuthenticationType, "v2");
198198

199199
var builder = new WebHostBuilder()

0 commit comments

Comments
 (0)