Skip to content

Commit

Permalink
Merge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion
Browse files Browse the repository at this point in the history
add an integration test that ensures deletion of LDAP users
  • Loading branch information
MorrisJobke authored Mar 14, 2019
2 parents f87bab8 + a692f28 commit dd0a5c4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/integration/ldap_features/openldap-uid-username.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dd0a5c4

Please sign in to comment.