Skip to content

Commit d175eaa

Browse files
committed
add test for Azpreview from MAR
1 parent 53562a4 commit d175eaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/FindPSResourceTests/FindPSResourceContainerRegistryServer.Tests.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,9 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
255255
$res.Dependencies.Length | Should -Be 1
256256
$res.Dependencies[0].Name | Should -Be "Az.Accounts"
257257
}
258+
259+
It "Should find Azpreview resource and it's dependency given specific Name and Version" {
260+
$res = Find-PSResource -Name "Az.Storage" -Version "13.2.0" -Repository "MAR"
261+
$res.Dependencies.Length | Should -Not -Be 0
262+
}
258263
}

0 commit comments

Comments
 (0)