fix: Fix test by scanning group before using it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/51111/head
Côme Chilliet 2025-02-27 12:39:15 +07:00 committed by backportbot[bot]
parent 5e1cf1359d
commit f09de1f2c5
1 changed files with 1 additions and 1 deletions

@ -151,6 +151,7 @@ Feature: LDAP
| ldapAttributesForUserSearch | employeeNumber |
| useMemberOfToDetectMembership | 1 |
And parameter "shareapi_only_share_with_group_members" of app "core" is set to "yes"
And invoking occ with "ldap:check-group cn=Orcharding,ou=OtherGroups,dc=nextcloud,dc=ci --update"
And As an "alice"
When getting sharees for
# "5" is part of the employee number of some LDAP records
@ -162,4 +163,3 @@ Feature: LDAP
And "users" sharees returned are
| Elisa | 0 | elisa |
And "exact groups" sharees returned is empty