From 8f811502d57fcf4d0011877a2799d0e503ba6468 Mon Sep 17 00:00:00 2001 From: John Luo Date: Fri, 4 Mar 2016 11:56:20 -0800 Subject: [PATCH] Reacting to Hosting deployer change --- .../HelloWorldTest.cs | 1 + .../HttpsTest.cs | 2 ++ .../NtlmAuthentationTest.cs | 1 + 3 files changed, 4 insertions(+) diff --git a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HelloWorldTest.cs b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HelloWorldTest.cs index 46b1dc35f3..84d71a9003 100644 --- a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HelloWorldTest.cs +++ b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HelloWorldTest.cs @@ -54,6 +54,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests EnvironmentName = "HelloWorld", // Will pick the Start class named 'StartupHelloWorld', ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Http.config") : null, SiteName = "HttpTestSite", // This is configured in the Http.config + PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50" }; using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger)) diff --git a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HttpsTest.cs b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HttpsTest.cs index 0d13849596..8d8e18d986 100644 --- a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HttpsTest.cs +++ b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/HttpsTest.cs @@ -41,6 +41,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld', ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null, SiteName = "HttpsTestSite", // This is configured in the Https.config + PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50" }; using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger)) @@ -109,6 +110,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld', ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null, SiteName = "HttpsTestSite", // This is configured in the Https.config + PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50" }; using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger)) diff --git a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/NtlmAuthentationTest.cs b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/NtlmAuthentationTest.cs index a05b5330d8..cf3c35810f 100644 --- a/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/NtlmAuthentationTest.cs +++ b/test/Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests/NtlmAuthentationTest.cs @@ -36,6 +36,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests EnvironmentName = "NtlmAuthentication", // Will pick the Start class named 'StartupNtlmAuthentication' ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("NtlmAuthentation.config") : null, SiteName = "NtlmAuthenticationTestSite", // This is configured in the NtlmAuthentication.config + PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50" }; using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))