We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c1e829 commit ad85cf1Copy full SHA for ad85cf1
1 file changed
test/FindPSResourceTests/FindPSResourceV3Server.Tests.ps1
@@ -97,9 +97,9 @@ Describe 'Test HTTP Find-PSResource for V3 Server Protocol' -tags 'CI' {
97
}
98
99
It 'find resource and its dependency resources with IncludeDependencies parameter' {
100
- $pkg = [array](Find-PSResource -Name 'TestModuleWithDependencyE' -IncludeDependencies -Repository $NuGetGalleryName)
+ $pkg = Find-PSResource -Name 'TestModuleWithDependencyE' -IncludeDependencies -Repository $NuGetGalleryName
101
$pkg.Name | Should -Contain 'TestModuleWithDependencyE'
102
- $pkg | Should -BeGreaterThan 1
+ $pkg.Count | Should -BeGreaterThan 1
103
104
105
# It "find resources only with Tag parameter" {
0 commit comments