Skip to content

Commit ad85cf1

Browse files
committed
Test fix for FindV3Server dep test
1 parent 2c1e829 commit ad85cf1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/FindPSResourceTests/FindPSResourceV3Server.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ Describe 'Test HTTP Find-PSResource for V3 Server Protocol' -tags 'CI' {
9797
}
9898

9999
It 'find resource and its dependency resources with IncludeDependencies parameter' {
100-
$pkg = [array](Find-PSResource -Name 'TestModuleWithDependencyE' -IncludeDependencies -Repository $NuGetGalleryName)
100+
$pkg = Find-PSResource -Name 'TestModuleWithDependencyE' -IncludeDependencies -Repository $NuGetGalleryName
101101
$pkg.Name | Should -Contain 'TestModuleWithDependencyE'
102-
$pkg | Should -BeGreaterThan 1
102+
$pkg.Count | Should -BeGreaterThan 1
103103
}
104104

105105
# It "find resources only with Tag parameter" {

0 commit comments

Comments
 (0)