File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
test/InstallPSResourceTests Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ Describe 'Test Install-PSResource for V2 Server scenarios' -tags 'CI' {
557557 # Test that AuthenticodeCheck parameter displays warning on non-Windows
558558 It " Install with AuthenticodeCheck on non-Windows should display warning" - Skip:(Get-IsWindows ) {
559559 Install-PSResource - Name $testModuleName - Repository $PSGalleryName - TrustRepository - AuthenticodeCheck - WarningVariable warn - WarningAction SilentlyContinue
560- $warn [0 ] | Should - Contain " Authenticode check cannot be performed on Linux or MacOS"
560+ $warn [0 ] | Should -Match " Authenticode check cannot be performed on Linux or MacOS"
561561 $res = Get-InstalledPSResource $testModuleName
562562 $res.Name | Should - Be $testModuleName
563563 }
You can’t perform that action at this time.
0 commit comments