@@ -60,7 +60,7 @@ public ToolInstallGlobalOrToolPathCommandTests(ITestOutputHelper log): base(log)
6060 _createToolPackageStoresAndDownloader = ( location , forwardArguments ) => ( _toolPackageStore , _toolPackageStoreQuery , CreateToolPackageDownloader ( ) ) ;
6161
6262
63- _parseResult = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } ") ;
63+ _parseResult = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --verbosity minimal ") ;
6464 }
6565
6666 [ Fact ]
@@ -283,7 +283,7 @@ public void WhenRunWithPackageIdItShouldShowSuccessMessage()
283283 }
284284
285285 [ Fact ]
286- public void WhenRunWithPackageIdWithQuietItShouldShowSuccessMessage ( )
286+ public void WhenRunWithPackageIdWithQuietItShouldShowNoSuccessMessage ( )
287287 {
288288 var parseResultQuiet = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --verbosity quiet") ;
289289 var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand (
@@ -330,7 +330,7 @@ public void WhenRunWithInvalidVersionItShouldThrow()
330330 [ Fact ]
331331 public void WhenRunWithExactVersionItShouldSucceed ( )
332332 {
333- ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version { PackageVersion } ") ;
333+ ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version { PackageVersion } --verbosity minimal ") ;
334334
335335 var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand (
336336 result ,
@@ -354,7 +354,7 @@ public void WhenRunWithExactVersionItShouldSucceed()
354354 [ Fact ]
355355 public void WhenRunWithValidVersionRangeItShouldSucceed ( )
356356 {
357- ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version [1.0,2.0]") ;
357+ ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version [1.0,2.0] --verbosity minimal ") ;
358358
359359 var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand (
360360 result ,
@@ -410,7 +410,7 @@ public void WhenRunWithPrereleaseItShouldSucceed()
410410 {
411411 IToolPackageDownloader toolToolPackageDownloader = GetToolToolPackageDownloaderWithPreviewInFeed ( ) ;
412412
413- ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --prerelease") ;
413+ ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --prerelease --verbosity minimal ") ;
414414
415415 var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand (
416416 result ,
@@ -502,7 +502,7 @@ public void WhenRunWithoutAMatchingRangeItShouldFail()
502502 [ Fact ]
503503 public void WhenRunWithValidVersionWildcardItShouldSucceed ( )
504504 {
505- ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version 1.0.*") ;
505+ ParseResult result = Parser . Instance . Parse ( $ "dotnet tool install -g { PackageId } --version 1.0.* --verbosity minimal ") ;
506506
507507 var toolInstallGlobalOrToolPathCommand = new ToolInstallGlobalOrToolPathCommand (
508508 result ,
0 commit comments