Skip to content

Commit ab27810

Browse files
committed
check if version is greaterthan not equal
1 parent e3cce0a commit ab27810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/FindPSResourceTests/FindPSResourceContainerRegistryServer.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
247247
It "Should find resource given specific Name, Version null" {
248248
$res = Find-PSResource -Name "Az.Accounts" -Repository "MAR"
249249
$res.Name | Should -Be "Az.Accounts"
250-
$res.Version | Should -Be "4.0.2"
250+
$res.Version | Should -BeGreaterThan "4.0.0"
251251
}
252252

253253
It "Should find resource and its dependency given specific Name and Version" {

0 commit comments

Comments
 (0)