fix pester test
This commit is contained in:
parent
4fd762bcc6
commit
9a4d50d097
|
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user