Skip to content

Commit c79ceb1

Browse files
committed
test: use GetUnresolvedProviderPathFromPSPath to build test directory path [skip ci]
1 parent b20c6e1 commit c79ceb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-gpg-key.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param (
77

88
$CurrentPath = Get-Location
99
$SourceRootPath = Resolve-Path (Join-Path -Path $PSScriptRoot -ChildPath "..")
10-
$TestPath = Resolve-Path (Join-Path -Path $PSScriptRoot -ChildPath "..\..\fork-version.tests\gpg")
10+
$TestPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath((Join-Path -Path $PSScriptRoot -ChildPath "..\..\fork-version.tests\gpg"))
1111
$TempKeyContentPath = (Join-Path -Path $PSScriptRoot -ChildPath "TEST_GPG_KEY_CONTENT.tmp")
1212

1313
$KeyContent = @"

0 commit comments

Comments
 (0)