diff --git a/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs b/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs index 564b29ab91..47277d7286 100644 --- a/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs +++ b/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs @@ -133,11 +133,11 @@ namespace Microsoft.AspNet.TestHost public class EnsureApplicationServicesFilter : IStartupFilter { - public Action Configure(IApplicationBuilder app, Action next) + public Action Configure(Action next) { return builder => { - app.Run(context => { + builder.Run(context => { Assert.NotNull(context.ApplicationServices); return context.Response.WriteAsync("Done"); });