Skip to content

Commit 28cf0cc

Browse files
author
Jason Zhai
committed
Reenable TemplateEngine tests
1 parent 29904b2 commit 28cf0cc

3 files changed

+4
-8
lines changed

test/dotnet-new.Tests/Approvals/DotnetNewDetailsTest.CanDisplayDetails_InstalledPackage_OtherFeed.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Microsoft.Azure.WebJobs.ItemTemplates
2-
Package version: 4.0.3038
2+
Package version: 4.0.3062
33
Details: Collection of templates for Azure Functions
44
Source Feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json
55
Authors:

test/dotnet-new.Tests/Approvals/DotnetNewDetailsTest.CanDisplayDetails_RemotePackage_OtherFeedNoVersion.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Microsoft.Azure.WebJobs.ItemTemplates
2-
Package version: 4.0.3038
2+
Package version: 4.0.3062
33
Details: Collection of templates for Azure Functions
44
Source Feed: dotnet-public [https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json]
55
Authors:

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

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

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
61+
[Fact]
6462
public Task CanDisplayDetails_RemotePackage_OtherFeedNoVersion()
6563
{
6664
CommandResult commandResult = new DotnetNewCommand(_log, "details", "Microsoft.Azure.WebJobs.ItemTemplates")
@@ -127,9 +125,7 @@ public Task CanDisplayDetails_InstalledPackage_NuGetFeed()
127125
return Verify(commandResult.StdOut);
128126
}
129127

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
128+
[Fact]
133129
public Task CanDisplayDetails_InstalledPackage_OtherFeed()
134130
{
135131
string home = CreateTemporaryFolder(folderName: "Home");

0 commit comments

Comments
 (0)