diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-15 10:49:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 10:49:20 +0100 |
commit | 7cf35f4a56ef091ec22e0a680d0004d4b9115014 (patch) | |
tree | e865a5ade9faf158ee0409532fa0b1477c114055 /build | |
parent | 9ebf78a88d4f456d13f1ba46437339c01329bd16 (diff) | |
parent | 91b3080b3e3ce284b827afce4ee8e987adf44688 (diff) | |
download | nextcloud-server-7cf35f4a56ef091ec22e0a680d0004d4b9115014.tar.gz nextcloud-server-7cf35f4a56ef091ec22e0a680d0004d4b9115014.zip |
Merge pull request #14697 from nextcloud/backport/14687/stable15
[stable15] add an integration test that ensures deletion of LDAP users
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" |