Skip to content

Commit 8700d6a

Browse files
Copilotnkolev92
andcommitted
Remove ProjectStyle assignment as it's auto-set by WithTestRestoreMetadata
Co-authored-by: nkolev92 <[email protected]>
1 parent ccce51d commit 8700d6a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/NuGet.Core.Tests/NuGet.Commands.Test/RestoreCommandTests/RestoreCommandTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,8 +2088,7 @@ await SimpleTestPackageUtility.CreateFolderFeedV3Async(
20882088

20892089
var request = new TestRestoreRequest(spec, sources, pathContext.UserPackagesFolder, logger)
20902090
{
2091-
LockFilePath = Path.Combine(projectPath, "project.assets.json"),
2092-
ProjectStyle = ProjectStyle.PackageReference
2091+
LockFilePath = Path.Combine(projectPath, "project.assets.json")
20932092
};
20942093

20952094
var command = new RestoreCommand(request);

0 commit comments

Comments
 (0)