fix pester syntax for pester thes substring selection
This commit is contained in:
parent
1d00981454
commit
ebd0b79080
@ -54,7 +54,7 @@ Describe "Set-ChallengeFile" {
|
|||||||
if (Test-Path -Path ("{0}\PSCredentialStore" -f $env:ProgramData)) {
|
if (Test-Path -Path ("{0}\PSCredentialStore" -f $env:ProgramData)) {
|
||||||
Remove-Item -Path ("{0}\PSCredentialStore" -f $env:ProgramData) -Force -Recurse
|
Remove-Item -Path ("{0}\PSCredentialStore" -f $env:ProgramData) -Force -Recurse
|
||||||
}
|
}
|
||||||
{ Set-ChallengeFile } | Should -Throw "Could not create the parent data dir*"
|
{ Set-ChallengeFile } | Should -Throw "Could not create the parent data dir"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user