We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df0a16 commit 8e6c703Copy full SHA for 8e6c703
powershell-adapter/Tests/win_powershellgroup.tests.ps1
@@ -273,7 +273,8 @@ resources:
273
274
It 'List works with class-based PS DSC resources' -Skip:(!$IsWindows) {
275
BeforeDiscovery {
276
- $windowsPowerShellPath = Join-Path $env:ProgramFiles 'WindowsPowerShell' 'Modules'
+ $windowsPowerShellPath = Join-Path $testDrive 'WindowsPowerShell' 'Modules'
277
+ $env:PSModulePath += [System.IO.Path]::PathSeparator + $windowsPowerShellPath
278
279
$moduleFile = @"
280
@{
0 commit comments