adds verbose output
This commit is contained in:
parent
55260af894
commit
3d3497c58e
@ -46,11 +46,10 @@ $VerbosePreference = "SilentlyContinue"
|
|||||||
Describe "New-CredentialStore" {
|
Describe "New-CredentialStore" {
|
||||||
Context "Private CS tests" {
|
Context "Private CS tests" {
|
||||||
$pCS = Join-Path -Path $env:APPDATA -ChildPath "CredentialStore.json"
|
$pCS = Join-Path -Path $env:APPDATA -ChildPath "CredentialStore.json"
|
||||||
Write-Debug -Message ("Parsed private CS:" -f $pCS)
|
|
||||||
It "Test1: Create new private CredentialStore" {
|
It "Test1: Create new private CredentialStore" {
|
||||||
New-CredentialStore
|
New-CredentialStore
|
||||||
$result = Test-Path -Path $pCS
|
$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
|
($result -eq $True) -and ($CS.Type -eq "Private") | Should Be $True
|
||||||
}
|
}
|
||||||
It "Test2: Try to override private Store" {
|
It "Test2: Try to override private Store" {
|
||||||
|
Loading…
Reference in New Issue
Block a user