Skip to content

Commit fa3e58c

Browse files
authored
Disable failing TemplateEngine tests (dotnet#42261)
See dotnet#42260
2 parents f86f545 + 06a8fc1 commit fa3e58c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/dotnet-new.Tests/DotnetNewDetailsTest.Approval.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ public Task CanDisplayDetails_RemotePackage_OtherFeedWithVersion()
5858
return Verify(commandResult.StdOut);
5959
}
6060

61-
[Fact]
61+
#pragma warning disable xUnit1004 // Test methods should not be skipped
62+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/42260")]
63+
#pragma warning restore xUnit1004 // Test methods should not be skipped
6264
public Task CanDisplayDetails_RemotePackage_OtherFeedNoVersion()
6365
{
6466
CommandResult commandResult = new DotnetNewCommand(_log, "details", "Microsoft.Azure.WebJobs.ItemTemplates")
@@ -125,7 +127,9 @@ public Task CanDisplayDetails_InstalledPackage_NuGetFeed()
125127
return Verify(commandResult.StdOut);
126128
}
127129

128-
[Fact]
130+
#pragma warning disable xUnit1004 // Test methods should not be skipped
131+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/42260")]
132+
#pragma warning restore xUnit1004 // Test methods should not be skipped
129133
public Task CanDisplayDetails_InstalledPackage_OtherFeed()
130134
{
131135
string home = CreateTemporaryFolder(folderName: "Home");

0 commit comments

Comments
 (0)