Skip to content

Commit 05327e3

Browse files
author
Hovsep Mkrtchyan
committed
Fixed WarningOnIncompatibleVersions test.
1 parent 57e5968 commit 05327e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Profile/Commands.Profile.Test/ProfileModuleTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Test-LoadProfileModule
2323
$global:pushedProfileModule = $(Get-Module AzureRM.Profile).Path
2424
Remove-Module AzureRM.Profile
2525
try {
26-
Register-PSRepository -Name "ProfileModuleTest" -SourceLocation (Resolve-Path .\FakeModuleRepo).Path -InstallationPolicy Trusted
26+
Register-PSRepository -Name "ProfileModuleTest" -SourceLocation (Resolve-Path "$TestOutputRoot\FakeModuleRepo").Path -InstallationPolicy Trusted
2727
try {
2828
Install-Module AzureRM.ApiManagement -Scope CurrentUser -Repository ProfileModuleTest -RequiredVersion 998.9.8
2929
$global:buffer = Import-Module $global:pushedProfileModule 2>&1 3>&1 | Out-String

0 commit comments

Comments
 (0)