diff --git a/test/Microsoft.AspNet.IISPlatformHandler.Tests/HttpPlatformHandlerMiddlewareTests.cs b/test/Microsoft.AspNet.IISPlatformHandler.Tests/HttpPlatformHandlerMiddlewareTests.cs index faeb7058e8..f43d7e6482 100644 --- a/test/Microsoft.AspNet.IISPlatformHandler.Tests/HttpPlatformHandlerMiddlewareTests.cs +++ b/test/Microsoft.AspNet.IISPlatformHandler.Tests/HttpPlatformHandlerMiddlewareTests.cs @@ -124,7 +124,7 @@ namespace Microsoft.AspNet.IISPlatformHandler { var auth = (IHttpAuthenticationFeature)context.Features[typeof(IHttpAuthenticationFeature)]; Assert.NotNull(auth); - Assert.IsAssignableFrom(auth.Handler); + Assert.Equal("Microsoft.AspNet.IISPlatformHandler.AuthenticationHandler", auth.Handler.GetType().FullName); assertsExecuted = true; return Task.FromResult(0); });