From 9a4d50d097bfa7cd998588999a63af3712d78621 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 13 Mar 2018 15:53:23 +0100 Subject: [PATCH] fix pester test --- tests/Store/01_Get-CredentialStore.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Store/01_Get-CredentialStore.Tests.ps1 b/tests/Store/01_Get-CredentialStore.Tests.ps1 index 13e8aeb..e2d6b29 100644 --- a/tests/Store/01_Get-CredentialStore.Tests.ps1 +++ b/tests/Store/01_Get-CredentialStore.Tests.ps1 @@ -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." } } }