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 7ab662c860 - Show all commits

View File

@ -79,7 +79,6 @@ Describe "New-CredentialStoreItem" {
return [PSCredential]::new($UserName, $Password)
}
}
It "Test missing Credential" {
$tmpCS = 'C:\CredentialStore.json'
New-CredentialStoreItem -Path $tmpCs -Shared -RemoteHost 'foobar3'
@ -99,3 +98,5 @@ Context "General Exception handling" {
New-CredentialStoreItem -Path 'C:\missingStore.json' -RemoteHost 'notrelevant' | Should -Throw "Could not add anything"
}
}
}