Update ProjectBuildTests.cs

This commit is contained in:
Marc Paine 2022-01-13 12:35:14 -08:00 committed by GitHub
parent c8281a0fb7
commit 62a57d56a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,7 +314,7 @@ namespace EndToEnd.Tests
[InlineData("razorclasslib")] [InlineData("razorclasslib")]
public void ItCanCreateAndBuildTemplatesWithDefaultFramework(string templateName, string language = "") public void ItCanCreateAndBuildTemplatesWithDefaultFramework(string templateName, string language = "")
{ {
string framework = DetectExpectedDefaultFramework(); string framework = DetectExpectedDefaultFramework(templateName);
TestTemplateCreateAndBuild(templateName, selfContained: true, language: language, framework: framework); TestTemplateCreateAndBuild(templateName, selfContained: true, language: language, framework: framework);
} }
@ -401,7 +401,8 @@ namespace EndToEnd.Tests
|| template.StartsWith("classlib") || template.StartsWith("classlib")
|| template.StartsWith("console") || template.StartsWith("console")
|| template.StartsWith("nunit") || template.StartsWith("nunit")
|| template.StartsWith("xunit")) || template.StartsWith("xunit")
|| template.StartsWith("wpf"))
{ {
return "net6.0"; return "net6.0";
} }