|
@@ -59,8 +59,8 @@ public class MvcTemplateTest : LoggedTest
|
|
|
|
|
|
|
|
var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
|
|
var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
|
|
|
var expectedLaunchProfileNames = noHttps
|
|
var expectedLaunchProfileNames = noHttps
|
|
|
- ? new[] { "http", "IIS Express" }
|
|
|
|
|
- : new[] { "http", "https", "IIS Express" };
|
|
|
|
|
|
|
+ ? new[] { "http" }
|
|
|
|
|
+ : new[] { "http", "https" };
|
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
|
|
|
|
|
|
var projectExtension = languageOverride == "F#" ? "fsproj" : "csproj";
|
|
var projectExtension = languageOverride == "F#" ? "fsproj" : "csproj";
|
|
@@ -157,8 +157,8 @@ public class MvcTemplateTest : LoggedTest
|
|
|
await project.RunDotNetNewAsync("mvc", auth: "Individual", useLocalDB: useLocalDB, args: args);
|
|
await project.RunDotNetNewAsync("mvc", auth: "Individual", useLocalDB: useLocalDB, args: args);
|
|
|
|
|
|
|
|
var expectedLaunchProfileNames = noHttps
|
|
var expectedLaunchProfileNames = noHttps
|
|
|
- ? new[] { "http", "IIS Express" }
|
|
|
|
|
- : new[] { "http", "https", "IIS Express" };
|
|
|
|
|
|
|
+ ? new[] { "http" }
|
|
|
|
|
+ : new[] { "http", "https" };
|
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
|
|
|
|
|
|
var projectFileContents = project.ReadFile($"{project.ProjectName}.csproj");
|
|
var projectFileContents = project.ReadFile($"{project.ProjectName}.csproj");
|
|
@@ -355,7 +355,7 @@ public class MvcTemplateTest : LoggedTest
|
|
|
await project.RunDotNetNewAsync("mvc", auth: auth, args: args);
|
|
await project.RunDotNetNewAsync("mvc", auth: auth, args: args);
|
|
|
|
|
|
|
|
// Identity Web auth requires https and thus ignores the --no-https option if passed so there should never be an 'http' profile
|
|
// Identity Web auth requires https and thus ignores the --no-https option if passed so there should never be an 'http' profile
|
|
|
- var expectedLaunchProfileNames = new[] { "https", "IIS Express" };
|
|
|
|
|
|
|
+ var expectedLaunchProfileNames = new[] { "https" };
|
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
await project.VerifyLaunchSettings(expectedLaunchProfileNames);
|
|
|
|
|
|
|
|
// Verify building in debug works
|
|
// Verify building in debug works
|