File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -237,19 +237,17 @@ Describe 'Test HTTP Find-PSResource for ACR Server Protocol' -tags 'CI' {
237237
238238Describe ' Test Find-PSResource for MAR Repository' - tags ' CI' {
239239 BeforeAll {
240- [Microsoft.PowerShell.PSResourceGet.UtilClasses.InternalHooks ]::SetTestHook(" MARPrefix" , " azure-powershell/" );
241240 Register-PSResourceRepository - Name " MAR" - Uri " https://mcr.microsoft.com" - ApiVersion " ContainerRegistry"
242241 }
243242
244243 AfterAll {
245- [Microsoft.PowerShell.PSResourceGet.UtilClasses.InternalHooks ]::SetTestHook(" MARPrefix" , $null );
246244 Unregister-PSResourceRepository - Name " MAR"
247245 }
248246
249247 It " Should find resource given specific Name, Version null" {
250248 $res = Find-PSResource - Name " Az.Accounts" - Repository " MAR"
251249 $res.Name | Should - Be " Az.Accounts"
252- $res.Version | Should - Be " 3 .0.4 "
250+ $res.Version | Should - Be " 4 .0.0 "
253251 }
254252
255253 It " Should find resource and its dependency given specific Name and Version" {
You can’t perform that action at this time.
0 commit comments