Skip to content

Commit

Permalink
add @() to .count in get tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Moreau committed Sep 9, 2024
1 parent 88b4464 commit c5260a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/integration/UserLdap.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Describe "Get User Ldap" {

It "Get ALL User Ldap" {
$userldap = Get-FGTUserLDAP
$userldap.count | Should -Not -Be $NULL
@($userldap).count | Should -Not -Be $NULL
}

It "Get ALL User Ldap with -skip" {
$userldap = Get-FGTUserLDAP -skip
$userldap.count | Should -Not -Be $NULL
@($userldap).count | Should -Not -Be $NULL
}

It "Get User Ldap with -name $pester_userldap -meta" {
Expand Down

0 comments on commit c5260a6

Please sign in to comment.