Skip to content

Commit a9102ac

Browse files
author
Kapil Borle
committed
Fix failing tests in ModuleDependencyHandler.tests.ps1
1 parent 38b4764 commit a9102ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/ModuleDependencyHandler.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Describe "Resolve DSC Resource Dependency" {
4343
$expectedPath = [System.IO.Path]::GetTempPath()
4444
$depHandler.TempPath | Should Be $expectedPath
4545

46-
$expectedLocalAppDataPath = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::LocalApplicationData)
46+
$expectedLocalAppDataPath = $env:LOCALAPPDATA
4747
$depHandler.LocalAppDataPath | Should Be $expectedLocalAppDataPath
4848

4949
$expectedModuleRepository = "PSGallery"

0 commit comments

Comments
 (0)