Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ Describe 'Test Install-PSResource for V2 Server scenarios' -tags 'CI' {
# Test that AuthenticodeCheck parameter displays warning on non-Windows
It "Install with AuthenticodeCheck on non-Windows should display warning" -Skip:(Get-IsWindows) {
Install-PSResource -Name $testModuleName -Repository $PSGalleryName -TrustRepository -AuthenticodeCheck -WarningVariable warn -WarningAction SilentlyContinue
$warn[0] | Should -Contain "Authenticode check cannot be performed on Linux or MacOS"
$warn[0] | Should -Match "Authenticode check cannot be performed on Linux or MacOS"
$res = Get-InstalledPSResource $testModuleName
$res.Name | Should -Be $testModuleName
}
Expand Down
Loading