Merge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion

add an integration test that ensures deletion of LDAP users
pull/14614/head
Morris Jobke 7 years ago committed by GitHub
commit dd0a5c4fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      build/integration/ldap_features/openldap-uid-username.feature

@ -108,3 +108,13 @@ Feature: LDAP
| lloyd |
| priscilla |
| shannah |
Scenario: Deleting an unavailable LDAP user
Given As an "admin"
And sending "GET" to "/cloud/users"
And modify LDAP configuration
| ldapUserFilter | (&(objectclass=inetorgperson)(!(uid=alice))) |
And invoking occ with "ldap:check-user alice"
And the command output contains the text "Clean up the user's remnants by"
And invoking occ with "user:delete alice"
Then the command output contains the text "The specified user was deleted"

Loading…
Cancel
Save