diff --git a/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 b/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 index 762df84..71f7c9c 100644 --- a/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 +++ b/tests/ChallengeFile/01_Set-ChallengeFile.Tests.ps1 @@ -19,7 +19,7 @@ Else { Describe "Set-ChallengeFile" { Context "Tests with custom path" { It "Working dir and path not exist" { - Set-ChallengeFile -Path 'C:\CredentialStore\Challenge.bin' | Should -Not -Throw + {Set-ChallengeFile -Path 'C:\PSCredentialStore\Challenge.bin'} | Should -Not -Throw } It "No parameter and non file should return true" { if (Test-Path -Path ("{0}\PSCredentialStore\Challenge.bin" -f $env:ProgramData)) {