diff --git a/src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs b/src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs index ebeebb2d7469..502ac88be6bb 100644 --- a/src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs +++ b/src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs @@ -60,7 +60,7 @@ public async Task RunClientTests() private static async Task CreateDeployments(ILoggerFactory loggerFactory) { - var solutionPath = TestPathUtilities.GetSolutionRootDirectory("CORS"); + var solutionPath = TestPathUtilities.GetSolutionRootDirectory("Middleware"); var runtimeFlavor = GetRuntimeFlavor(); var applicationType = runtimeFlavor == RuntimeFlavor.Clr ? ApplicationType.Standalone : ApplicationType.Portable; @@ -76,7 +76,7 @@ private static async Task CreateDeployments(ILoggerFact { RuntimeFlavor = runtimeFlavor, ServerType = ServerType.Kestrel, - ApplicationPath = Path.Combine(solutionPath, "samples", "SampleDestination"), + ApplicationPath = Path.Combine(solutionPath, "CORS", "samples", "SampleDestination"), PublishApplicationBeforeDeployment = false, ApplicationType = applicationType, Configuration = configuration, @@ -89,7 +89,7 @@ private static async Task CreateDeployments(ILoggerFact { RuntimeFlavor = runtimeFlavor, ServerType = ServerType.Kestrel, - ApplicationPath = Path.Combine(solutionPath, "samples", "SampleOrigin"), + ApplicationPath = Path.Combine(solutionPath, "CORS", "samples", "SampleOrigin"), PublishApplicationBeforeDeployment = false, ApplicationType = applicationType, Configuration = configuration,