diff --git a/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 b/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 index 57c565563..4f9e5ea5b 100644 --- a/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 +++ b/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 @@ -173,8 +173,9 @@ Describe 'Test Install-PSResource for local repositories' -tags 'CI' { Write-Verbose -Verbose "Command Name: $($command.Name)" Write-Verbose -Verbose "Command Type: $($command.CommandType)" Write-Verbose -Verbose "----------------------------------" + } } - + $pkg | Should -BeNullOrEmpty $ev.Count | Should -Be 1 $ev[0] | Should -Be "'testModuleClobber2' package could not be installed with error: The following commands are already available on this system: 'Test-Cmdlet1, Test-Cmdlet1'. This module 'testModuleClobber2' may override the existing commands. If you still want to install this module 'testModuleClobber2', remove the -NoClobber parameter."