From 8b1c26f08b12c6e44d8b9a8c6d8b2f48015856aa Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 4 Apr 2019 16:08:57 +0200 Subject: [PATCH] fix pester test --- tests/Store/02_New-CredentialStore.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Store/02_New-CredentialStore.Tests.ps1 b/tests/Store/02_New-CredentialStore.Tests.ps1 index 4400798..028504d 100644 --- a/tests/Store/02_New-CredentialStore.Tests.ps1 +++ b/tests/Store/02_New-CredentialStore.Tests.ps1 @@ -81,7 +81,7 @@ Describe "New-CredentialStore" { $CS.PfxCertificate | Should -Be $null $CS.Thumbprint | Should -Not -Be $null $res = Test-CSCertificate -Thumbprint $CS.Thumbprint -StoreName My -StoreLocation CurrentUser - Write-Verbose -Message ('res: {0}' -f $res) -Verbose + #Write-Verbose -Message ('res: {0}' -f $res) -Verbose $res | Should -Be $true } @@ -90,8 +90,8 @@ Describe "New-CredentialStore" { $CS = Get-CredentialStore -Shared $CS.PfxCertificate | Should -Be $null $CS.Thumbprint | Should -Not -Be $null - Test-CSCertificate -Thumbprint $CS.Thumbprint -StoreName My -StoreLocation CurrentUser - Write-Verbose -Message ('res: {0}' -f $res) -Verbose + $res = Test-CSCertificate -Thumbprint $CS.Thumbprint -StoreName My -StoreLocation CurrentUser + #Write-Verbose -Message ('res: {0}' -f $res) -Verbose $res | Should -Be $true } }