Fix CORS Functional Tests (#4610)
This commit is contained in:
parent
5e6c2208fd
commit
9e76bec6e1
|
|
@ -60,7 +60,7 @@ namespace FunctionalTests
|
||||||
|
|
||||||
private static async Task<SamplesDeploymentResult> CreateDeployments(ILoggerFactory loggerFactory)
|
private static async Task<SamplesDeploymentResult> CreateDeployments(ILoggerFactory loggerFactory)
|
||||||
{
|
{
|
||||||
var solutionPath = TestPathUtilities.GetSolutionRootDirectory("CORS");
|
var solutionPath = TestPathUtilities.GetSolutionRootDirectory("Middleware");
|
||||||
|
|
||||||
var runtimeFlavor = GetRuntimeFlavor();
|
var runtimeFlavor = GetRuntimeFlavor();
|
||||||
var applicationType = runtimeFlavor == RuntimeFlavor.Clr ? ApplicationType.Standalone : ApplicationType.Portable;
|
var applicationType = runtimeFlavor == RuntimeFlavor.Clr ? ApplicationType.Standalone : ApplicationType.Portable;
|
||||||
|
|
@ -76,7 +76,7 @@ namespace FunctionalTests
|
||||||
{
|
{
|
||||||
RuntimeFlavor = runtimeFlavor,
|
RuntimeFlavor = runtimeFlavor,
|
||||||
ServerType = ServerType.Kestrel,
|
ServerType = ServerType.Kestrel,
|
||||||
ApplicationPath = Path.Combine(solutionPath, "samples", "SampleDestination"),
|
ApplicationPath = Path.Combine(solutionPath, "CORS", "samples", "SampleDestination"),
|
||||||
PublishApplicationBeforeDeployment = false,
|
PublishApplicationBeforeDeployment = false,
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
Configuration = configuration,
|
Configuration = configuration,
|
||||||
|
|
@ -89,7 +89,7 @@ namespace FunctionalTests
|
||||||
{
|
{
|
||||||
RuntimeFlavor = runtimeFlavor,
|
RuntimeFlavor = runtimeFlavor,
|
||||||
ServerType = ServerType.Kestrel,
|
ServerType = ServerType.Kestrel,
|
||||||
ApplicationPath = Path.Combine(solutionPath, "samples", "SampleOrigin"),
|
ApplicationPath = Path.Combine(solutionPath, "CORS", "samples", "SampleOrigin"),
|
||||||
PublishApplicationBeforeDeployment = false,
|
PublishApplicationBeforeDeployment = false,
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
Configuration = configuration,
|
Configuration = configuration,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue