Skip to content

Commit 37b15ef

Browse files
committed
Fix tests
1 parent 1e63b25 commit 37b15ef

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Tests/dotnet.Tests/CommandTests/ToolInstallGlobalOrToolPathCommandTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public void WhenPassingIgnoreFailedSourcesItShouldNotThrow()
9191
var parseResult = Parser.Instance.Parse($"dotnet tool install -g {PackageId} --ignore-failed-sources");
9292
var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand(
9393
parseResult,
94+
_packageId,
9495
_createToolPackageStoreDownloaderUninstaller,
9596
_createShellShimRepository,
9697
_environmentPathInstructionMock,

src/Tests/dotnet.Tests/CommandTests/ToolInstallLocalCommandTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public void WhenPassingIgnoreFailedSourcesItShouldNotThrow()
105105
var parseResult = Parser.Instance.Parse($"dotnet tool install {_packageIdA.ToString()} --ignore-failed-sources");
106106
var installLocalCommand = new ToolInstallLocalCommand(
107107
parseResult,
108+
_packageIdA,
108109
_toolPackageDownloaderMock,
109110
_toolManifestFinder,
110111
_toolManifestEditor,

0 commit comments

Comments
 (0)