add an integration test that ensures deletion of LDAP users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-03-14 15:21:52 +01:00
parent 762a8bb3d9
commit a692f28320
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 10 additions and 0 deletions

View File

@ -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"