From 4fd762bcc680b0fc8f75d0daa26b30d4ef50d0c8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 13 Mar 2018 15:51:02 +0100 Subject: [PATCH] add test for Get-CredentialStore --- tests/Store/01_Get-CredentialStore.Tests.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Store/01_Get-CredentialStore.Tests.ps1 b/tests/Store/01_Get-CredentialStore.Tests.ps1 index a0cab26..13e8aeb 100644 --- a/tests/Store/01_Get-CredentialStore.Tests.ps1 +++ b/tests/Store/01_Get-CredentialStore.Tests.ps1 @@ -33,5 +33,8 @@ 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 + } } }