Skip to content

Commit

Permalink
add test for Azpreview from MAR
Browse files Browse the repository at this point in the history
  • Loading branch information
anamnavi committed Feb 12, 2025
1 parent 53562a4 commit d175eaa
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,9 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
$res.Dependencies.Length | Should -Be 1
$res.Dependencies[0].Name | Should -Be "Az.Accounts"
}

It "Should find Azpreview resource and it's dependency given specific Name and Version" {
$res = Find-PSResource -Name "Az.Storage" -Version "13.2.0" -Repository "MAR"
$res.Dependencies.Length | Should -Not -Be 0
}
}

0 comments on commit d175eaa

Please sign in to comment.