Skip to content

Commit ed45c76

Browse files
authored
Quarantine failing test (dotnet#25207)
* Quarantine failing test * Quarantine just one variant * Await * Fixup * Fixup
1 parent f82384c commit ed45c76

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationTest.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
using System.Threading.Tasks;
1313
using Microsoft.AspNetCore.Hosting;
1414
using Microsoft.AspNetCore.Mvc.Testing;
15+
using Microsoft.AspNetCore.Testing;
1516
using Xunit;
1617

1718
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
@@ -61,8 +62,6 @@ public static TheoryData<string, string> WebPagesData
6162
{ "EmployeeList", "/HtmlGeneration_Home/EmployeeList" },
6263
// Testing the EnvironmentTagHelper
6364
{ "Environment", null },
64-
// Testing the ImageTagHelper
65-
{ "Image", null },
6665
// Testing InputTagHelper with File
6766
{ "Input", null },
6867
// Testing the LinkTagHelper
@@ -138,6 +137,13 @@ public async Task HtmlGenerationWebSite_GeneratesExpectedResults(string action,
138137
}
139138
}
140139

140+
[Fact]
141+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/25206")]
142+
public async Task HtmlGenerationWebSite_GeneratesExpectedResults_WithImageData()
143+
{
144+
await HtmlGenerationWebSite_GeneratesExpectedResults("image", antiforgeryPath: null);
145+
}
146+
141147
[Fact]
142148
public async Task HtmlGenerationWebSite_LinkGeneration_With21CompatibilityBehavior()
143149
{

0 commit comments

Comments
 (0)