Increase code coverage #22

Merged
OCram85 merged 34 commits from dev into master 2018-03-21 12:16:09 +01:00
Showing only changes of commit 9a4d50d097 - Show all commits

View File

@ -34,7 +34,7 @@ Describe "Get-CredentialStore" {
{Get-CredentialStore -Path $TestCredentialStore} | Should Not Throw {Get-CredentialStore -Path $TestCredentialStore} | Should Not Throw
} }
It "Test3: Not existing path should return false" { 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."
} }
} }
} }