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' {
285285 $res.Dependencies [0 ].Name | Should - Be " Az.Accounts"
286286 }
287287
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+
288293 It " Should find resource with wildcard in Name" {
289294 $res = Find-PSResource - Name " Az.App*" - Repository " MAR"
290295 $res | Should -Not - BeNullOrEmpty
@@ -295,9 +300,6 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
295300 $res = Find-PSResource - Name " *" - Repository " MAR"
296301 $res | Should -Not - BeNullOrEmpty
297302 $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
301303 }
302304}
303305
You can’t perform that action at this time.
0 commit comments