mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
Merge pull request #14697 from nextcloud/backport/14687/stable15
[stable15] add an integration test that ensures deletion of LDAP users
This commit is contained in:
commit
7cf35f4a56
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Reference in a new issue