diff --git a/src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.nugetconfig._.verified/target.txt b/src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.nugetconfig._.verified/nuget.config similarity index 100% rename from src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.nugetconfig._.verified/target.txt rename to src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.nugetconfig._.verified/nuget.config diff --git a/src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.webconfig._.verified/target.txt b/src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.webconfig._.verified/web.config similarity index 100% rename from src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.webconfig._.verified/target.txt rename to src/Tests/dotnet-new.Tests/Approvals/AllCommonItemsCreate.webconfig._.verified/web.config diff --git a/src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs b/src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs index 5c02b68fd119..4dac15e3795b 100644 --- a/src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs +++ b/src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs @@ -64,13 +64,6 @@ public async void AllCommonItemsCreate(string expectedTemplateName, string templ }) ); - // TODO: workaround for '.config' files until https://github.com/VerifyTests/EmptyFiles/pull/110 is merged and flown all the way here - // Untill then a stream comparison is used without scrubbing and normalizing BOM, newlines etc. - VerifierSettings.RegisterFileConverter( - "config", - (stream, _) => new(null, "txt", new StringBuilder(new StreamReader(stream).ReadToEnd())) - ); - // globaljson is appending current sdk version. Due to the 'base' dotnet used to run test this version differs // on dev and CI runs and possibly from the version within test host. Easiest is just to scrub it away if (templateShortName.Equals("globaljson") && args == null) diff --git a/src/Tests/dotnet-new.Tests/dotnet-new.IntegrationTests.csproj b/src/Tests/dotnet-new.Tests/dotnet-new.IntegrationTests.csproj index fedd315ec5c0..9d2581377493 100644 --- a/src/Tests/dotnet-new.Tests/dotnet-new.IntegrationTests.csproj +++ b/src/Tests/dotnet-new.Tests/dotnet-new.IntegrationTests.csproj @@ -16,6 +16,8 @@ + +