fix pester test

This commit is contained in:
OCram85 2018-03-13 15:53:23 +01:00
parent 4fd762bcc6
commit 9a4d50d097

View File

@ -34,7 +34,7 @@ Describe "Get-CredentialStore" {
{Get-CredentialStore -Path $TestCredentialStore} | Should Not Throw
}
It "Test3: Not existing path should return false" {
Get-CredentialStore -Path 'C:\foobar\CredentialStore.json' -Shared | Should -Be $false
{ Get-CredentialStore -Path 'C:\foobar\CredentialStore.json' -Shared }| Should -Throw "Could not find the CredentialStore."
}
}
}