Skip to content

Commit 485f3f4

Browse files
committed
fix: Fix test by scanning group before using it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 7facae6 commit 485f3f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/integration/openldap_features/openldap-uid-username.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Feature: LDAP
151151
| ldapAttributesForUserSearch | employeeNumber |
152152
| useMemberOfToDetectMembership | 1 |
153153
And parameter "shareapi_only_share_with_group_members" of app "core" is set to "yes"
154+
And invoking occ with "ldap:check-group cn=Orcharding,ou=OtherGroups,dc=nextcloud,dc=ci --update"
154155
And As an "alice"
155156
When getting sharees for
156157
# "5" is part of the employee number of some LDAP records
@@ -162,4 +163,3 @@ Feature: LDAP
162163
And "users" sharees returned are
163164
| Elisa | 0 | elisa |
164165
And "exact groups" sharees returned is empty
165-

0 commit comments

Comments
 (0)