diff --git a/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/AntiForgerySampleTestFixture.cs b/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/AntiForgerySampleTestFixture.cs index ad4514519e..5958064a0c 100644 --- a/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/AntiForgerySampleTestFixture.cs +++ b/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/AntiForgerySampleTestFixture.cs @@ -25,8 +25,7 @@ namespace Microsoft.AspNetCore.Antiforgery.FunctionalTests var builder = new WebHostBuilder() .UseConfiguration(configurationBuilder.Build()) - .UseStartup(typeof(AntiforgerySample.Startup)) - .UseApplicationBasePath("../../../../samples/AntiforgerySample"); + .UseStartup(typeof(AntiforgerySample.Startup)); _server = new TestServer(builder);