Skip to content

Commit b3ae97e

Browse files
authored
Fix tests
1 parent 0dde90b commit b3ae97e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tests/dotnet.Tests/CommandTests/ToolUpdateGlobalOrToolPathCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void WhenPassingRestoreActionConfigOptions()
7676
{
7777
var parseResult = Parser.Instance.Parse($"dotnet tool update -g {_packageId} --ignore-failed-sources");
7878
var toolUpdateCommand = new ToolUpdateGlobalOrToolPathCommand(parseResult);
79-
toolUpdateCommand._toolInstallGlobalOrToolPathCommand._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
79+
toolUpdateCommand._toolInstallGlobalOrToolPathCommand.Value._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
8080
}
8181

8282
[Fact]

src/Tests/dotnet.Tests/CommandTests/ToolUpdateLocalCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void WhenPassingRestoreActionConfigOptions()
118118
{
119119
var parseResult = Parser.Instance.Parse($"dotnet tool update {_packageIdA.ToString()} --ignore-failed-sources");
120120
var command = new ToolUpdateLocalCommand(parseResult);
121-
command._toolInstallLocalCommand._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
121+
command._toolInstallLocalCommand.Value._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
122122
}
123123

124124
[Fact]

0 commit comments

Comments
 (0)