File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,11 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
285
285
$res.Dependencies [0 ].Name | Should - Be " Az.Accounts"
286
286
}
287
287
288
+ It " Should find Azpreview resource and it's dependency given specific Name and Version" {
289
+ $res = Find-PSResource - Name " Azpreview" - Version " 13.2.0" - Repository " MAR"
290
+ $res.Dependencies.Length | Should -Not - Be 0
291
+ }
292
+
288
293
It " Should find resource with wildcard in Name" {
289
294
$res = Find-PSResource - Name " Az.App*" - Repository " MAR"
290
295
$res | Should -Not - BeNullOrEmpty
@@ -295,9 +300,6 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
295
300
$res = Find-PSResource - Name " *" - Repository " MAR"
296
301
$res | Should -Not - BeNullOrEmpty
297
302
$res.Count | Should - BeGreaterThan 1
298
- It " Should find Azpreview resource and it's dependency given specific Name and Version" {
299
- $res = Find-PSResource - Name " Azpreview" - Version " 13.2.0" - Repository " MAR"
300
- $res.Dependencies.Length | Should -Not - Be 0
301
303
}
302
304
}
303
305
You can’t perform that action at this time.
0 commit comments