We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c6d81 commit c3747b3Copy full SHA for c3747b3
1 file changed
test/ResourceRepositoryTests/MARRepository.Tests.ps1
@@ -128,5 +128,12 @@ Describe "Test MAR Repository Registration" -tags 'CI' {
128
$res.Name | Should -Be "Az.Accounts"
129
$res.Repository | Should -Be $MARName
130
}
131
+
132
+ It 'Find-PSResource fallback to PSGallery if module not in MAR' {
133
+ $res = Find-PSResource -Name "Pscx"
134
+ $res | Should -Not -BeNullOrEmpty
135
+ $res.Name | Should -Be "Pscx"
136
+ $res.Repository | Should -Be $PSGalleryName
137
+ }
138
139
0 commit comments