wip
This commit is contained in:
parent
8808f1c70b
commit
c7529b5d89
@ -79,7 +79,7 @@ Describe "New-CredentialStoreItem" {
|
|||||||
Context "General Exception handling" {
|
Context "General Exception handling" {
|
||||||
Mock Test-CredentialStore { return $false } -ModuleName 'PSCredentialStore'
|
Mock Test-CredentialStore { return $false } -ModuleName 'PSCredentialStore'
|
||||||
It "Missing CredentialStore should throw" {
|
It "Missing CredentialStore should throw" {
|
||||||
{ New-CredentialStoreItem -Shared -Path 'C:\missingStore.json' -RemoteHost 'notrelevant' } | Should -Throw "Could not add anything"
|
{ New-CredentialStoreItem -Shared -Path '/tmp/missingStore.json' -RemoteHost 'notrelevant' } | Should -Throw "Could not add anything"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Context "Testing pipeline paramter" {
|
Context "Testing pipeline paramter" {
|
||||||
|
Loading…
Reference in New Issue
Block a user