aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-14 18:35:32 +0100
committerGitHub <noreply@github.com>2019-03-14 18:35:32 +0100
commitdd0a5c4fb856213beac93dfdba59c3dff25e1f72 (patch)
tree73c0e6429534d49ef2e4a32cbdf763ffb316346a
parentf87bab8ce2c871a0d4c8259c1ff7f7df58c4e8ea (diff)
parenta692f2832046b7ed3a412dd6a215a8731cb70c26 (diff)
downloadnextcloud-server-dd0a5c4fb856213beac93dfdba59c3dff25e1f72.tar.gz
nextcloud-server-dd0a5c4fb856213beac93dfdba59c3dff25e1f72.zip
Merge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion
add an integration test that ensures deletion of LDAP users
-rw-r--r--build/integration/ldap_features/openldap-uid-username.feature10
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"