diff --git a/src/Item/New-CredentialStoreItem.Tests.ps1 b/src/Item/New-CredentialStoreItem.Tests.ps1 index 4bc582e..fcbc336 100644 --- a/src/Item/New-CredentialStoreItem.Tests.ps1 +++ b/src/Item/New-CredentialStoreItem.Tests.ps1 @@ -102,7 +102,7 @@ Describe "New-CredentialStoreItem" { It "Missing CredentialStore should throw" { { New-CredentialStoreItem -Shared -Path '/tmp/missingStore.json' -RemoteHost 'notrelevant' - } | Should -Throw "Could not add anything into the given CredentialStore." + } | Should -Throw "The given credential store (/tmp/missingStore.json) does not exist!" } } Context "Testing pipeline paramter" {