align pester test with #43 logic
This commit is contained in:
parent
a71bfd0aaf
commit
aecc452362
@ -90,7 +90,7 @@ Describe "New-CredentialStore" {
|
|||||||
$CS = Get-CredentialStore -Shared
|
$CS = Get-CredentialStore -Shared
|
||||||
$CS.PfxCertificate | Should -Be $null
|
$CS.PfxCertificate | Should -Be $null
|
||||||
$CS.Thumbprint | Should -Not -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
|
#Write-Verbose -Message ('res: {0}' -f $res) -Verbose
|
||||||
$res | Should -Be $true
|
$res | Should -Be $true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user