From 3d3497c58e430b2803c173027c8bff4034aa1fb0 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 8 Mar 2018 14:52:49 +0100 Subject: [PATCH] adds verbose output --- tests/Store/01_New-CredentialStore.Tests.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Store/01_New-CredentialStore.Tests.ps1 b/tests/Store/01_New-CredentialStore.Tests.ps1 index 934dc4f..dfc47b0 100644 --- a/tests/Store/01_New-CredentialStore.Tests.ps1 +++ b/tests/Store/01_New-CredentialStore.Tests.ps1 @@ -46,11 +46,10 @@ $VerbosePreference = "SilentlyContinue" Describe "New-CredentialStore" { Context "Private CS tests" { $pCS = Join-Path -Path $env:APPDATA -ChildPath "CredentialStore.json" - Write-Debug -Message ("Parsed private CS:" -f $pCS) It "Test1: Create new private CredentialStore" { New-CredentialStore $result = Test-Path -Path $pCS - $CS = Get-Content -Path $pCS -Raw | ConvertFrom-Json -ErrorAction SilentlyContinue + $CS = Get-Content -Path $pCS -Raw | ConvertFrom-Json ($result -eq $True) -and ($CS.Type -eq "Private") | Should Be $True } It "Test2: Try to override private Store" {