diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-03-14 17:21:52 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-03-14 17:21:52 +0300 |
commit | a692f2832046b7ed3a412dd6a215a8731cb70c26 (patch) | |
tree | 0a5183cef6866ef547e420a975c8dc178e85a199 /build | |
parent | 762a8bb3d9521a9f75d9e186150cb77241b3bc19 (diff) |
add an integration test that ensures deletion of LDAP users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/ldap_features/openldap-uid-username.feature | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/integration/ldap_features/openldap-uid-username.feature b/build/integration/ldap_features/openldap-uid-username.feature index 3c87c479de2..e120d0316de 100644 --- a/build/integration/ldap_features/openldap-uid-username.feature +++ b/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" |