Skip to content

Commit be472db

Browse files
authored
Fix baseline templates tests (#26825)
* Add missing error.cshtml.cs to baseline * Unquarantine test * Update MvcTemplateTest.cs * Undo one unquarantine
1 parent 95921cf commit be472db

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/ProjectTemplates/test/BaselineTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public ITestOutputHelper Output
8181

8282
[Theory]
8383
[MemberData(nameof(TemplateBaselines))]
84-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23993")]
8584
public async Task Template_Produces_The_Right_Set_Of_FilesAsync(string arguments, string[] expectedFiles)
8685
{
8786
Project = await ProjectFactory.GetOrCreateProject("baseline" + SanitizeArgs(arguments), Output);

src/ProjectTemplates/test/template-baselines.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@
915915
"Data/Migrations/ApplicationDbContextModelSnapshot.cs",
916916
"Pages/Counter.razor",
917917
"Pages/Error.cshtml",
918+
"Pages/Error.cshtml.cs",
918919
"Pages/FetchData.razor",
919920
"Pages/Index.razor",
920921
"Pages/_Host.cshtml",
@@ -954,6 +955,7 @@
954955
"Data/WeatherForecastService.cs",
955956
"Pages/Counter.razor",
956957
"Pages/Error.cshtml",
958+
"Pages/Error.cshtml.cs",
957959
"Pages/FetchData.razor",
958960
"Pages/Index.razor",
959961
"Pages/_Host.cshtml",
@@ -993,6 +995,7 @@
993995
"Data/WeatherForecastService.cs",
994996
"Pages/Counter.razor",
995997
"Pages/Error.cshtml",
998+
"Pages/Error.cshtml.cs",
996999
"Pages/FetchData.razor",
9971000
"Pages/Index.razor",
9981001
"Pages/_Host.cshtml",
@@ -1031,6 +1034,7 @@
10311034
"Data/WeatherForecast.cs",
10321035
"Data/WeatherForecastService.cs",
10331036
"Pages/Error.cshtml",
1037+
"Pages/Error.cshtml.cs",
10341038
"Pages/Counter.razor",
10351039
"Pages/FetchData.razor",
10361040
"Pages/Index.razor",
@@ -1070,6 +1074,7 @@
10701074
"Data/WeatherForecastService.cs",
10711075
"Pages/Counter.razor",
10721076
"Pages/Error.cshtml",
1077+
"Pages/Error.cshtml.cs",
10731078
"Pages/FetchData.razor",
10741079
"Pages/Index.razor",
10751080
"Pages/_Host.cshtml",
@@ -1109,6 +1114,7 @@
11091114
"Data/WeatherForecastService.cs",
11101115
"Pages/Counter.razor",
11111116
"Pages/Error.cshtml",
1117+
"Pages/Error.cshtml.cs",
11121118
"Pages/FetchData.razor",
11131119
"Pages/Index.razor",
11141120
"Pages/_Host.cshtml",

0 commit comments

Comments
 (0)