Skip to content

Commit 4a06e52

Browse files
committed
Update test
1 parent a542b97 commit 4a06e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 | Should -Contain "Authenticode check cannot be performed on Linux or MacOS."
560+
$warn[0] | Should -Contain "Authenticode check cannot be performed on Linux or MacOS"
561561
$res = Get-InstalledPSResource $testModuleName
562562
$res.Name | Should -Be $testModuleName
563563
}

0 commit comments

Comments
 (0)