Skip to content

Commit dd0a5c4

Browse files
authored
Merge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion
add an integration test that ensures deletion of LDAP users
2 parents f87bab8 + a692f28 commit dd0a5c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,13 @@ Feature: LDAP
108108
| lloyd |
109109
| priscilla |
110110
| shannah |
111+
112+
Scenario: Deleting an unavailable LDAP user
113+
Given As an "admin"
114+
And sending "GET" to "/cloud/users"
115+
And modify LDAP configuration
116+
| ldapUserFilter | (&(objectclass=inetorgperson)(!(uid=alice))) |
117+
And invoking occ with "ldap:check-user alice"
118+
And the command output contains the text "Clean up the user's remnants by"
119+
And invoking occ with "user:delete alice"
120+
Then the command output contains the text "The specified user was deleted"

0 commit comments

Comments
 (0)