diff --git a/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1 b/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1 index b64244dcd..226c447cf 100644 --- a/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1 +++ b/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1 @@ -389,13 +389,15 @@ Describe 'Test Install-PSResource for V2 Server scenarios' -tags 'CI' { repository = $PSGalleryName } - test_module2 = @{ + test_module2 = @{ version = "[1.0.0,3.0.0)" repository = $PSGalleryName prerelease = "true" } - TestModule99 = @{} + TestModule99 = @{ + repository = $PSGalleryName + } } Install-PSResource -RequiredResource $rrHash -TrustRepository