align pester test with #43 logic

This commit is contained in:
OCram85 2019-04-05 09:09:08 +02:00
parent a71bfd0aaf
commit aecc452362
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ Describe "New-CredentialStore" {
$CS = Get-CredentialStore -Shared
$CS.PfxCertificate | Should -Be $null
$CS.Thumbprint | Should -Not -Be $null
$res = Test-CSCertificate -Thumbprint $CS.Thumbprint -StoreName My -StoreLocation CurrentUser
$res = Test-CSCertificate -Thumbprint $CS.Thumbprint -StoreName My -StoreLocation LocalMachine
#Write-Verbose -Message ('res: {0}' -f $res) -Verbose
$res | Should -Be $true
}