Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit d3263aa

Browse files
authored
Fixing recent CLI test failures around ASP.NETcore in the orchestrated build (#8553)
* Fixing recent CLI test failures around ASP.NETcore in the orchestrated build. * Put back the dotnet-migrate test's 'tempaspnetpatch' Nuget.config * Fixing typos...
1 parent e9b6381 commit d3263aa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/dotnet-new.Tests/GivenThatIWantANewApp.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@ public void RestoreDoesNotUseAnyCliProducedPackagesOnItsTemplates()
4444
var rootPath = TestAssets.CreateTestDirectory().FullName;
4545
var packagesDirectory = Path.Combine(rootPath, "packages");
4646

47-
// For testing the 2.1 templates - some of their packages are currently only in private feeds.
48-
var configFile = Path.Combine(rootPath, "NuGet.Config");
49-
AspNetNuGetConfiguration.WriteNuGetConfigWithAspNetPrivateFeeds(configFile);
50-
// For "normal" builds, once the packages needed for 2.1 templates are in the public feeds
51-
//var configFile = Path.Combine(RepoDirectoriesProvider.RepoRoot, "NuGet.Config");
47+
var configFile = Path.Combine(RepoDirectoriesProvider.RepoRoot, "NuGet.Config");
5248

5349
foreach (string cSharpTemplate in cSharpTemplates)
5450
{

0 commit comments

Comments
 (0)