Update ProjectBuildTests.cs
This commit is contained in:
parent
c8281a0fb7
commit
62a57d56a2
1 changed files with 3 additions and 2 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue