diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-04-15 15:02:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 15:02:51 +0200 |
commit | 8bc381f1040a207dd090fccc26531ad79f355916 (patch) | |
tree | d36a1003f3d4959eed65b969aeb6ff96d390a81d /build/integration | |
parent | c914ae4c8d0aa868ac8102127696b9bbed47e0f8 (diff) | |
parent | 84619a5b9c58ec7f4e3d7faea8c60a187cb61243 (diff) | |
download | nextcloud-server-8bc381f1040a207dd090fccc26531ad79f355916.tar.gz nextcloud-server-8bc381f1040a207dd090fccc26531ad79f355916.zip |
Merge pull request #20037 from nextcloud/fix/19127/deprecated-ldap_control_paged_result_1
do not use deprecated API for LDAP paged results
Diffstat (limited to 'build/integration')
-rw-r--r-- | build/integration/ldap_features/openldap-uid-username.feature | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/integration/ldap_features/openldap-uid-username.feature b/build/integration/ldap_features/openldap-uid-username.feature index 1790106ad56..6793273e8c7 100644 --- a/build/integration/ldap_features/openldap-uid-username.feature +++ b/build/integration/ldap_features/openldap-uid-username.feature @@ -109,6 +109,28 @@ Feature: LDAP | priscilla | | shannah | + Scenario: Fetch from second batch of all users, invoking pagination with two bases, third page + Given modify LDAP configuration + | ldapBaseUsers | ou=PagingTest,dc=nextcloud,dc=ci;ou=PagingTestSecondBase,dc=nextcloud,dc=ci | + | ldapPagingSize | 2 | + And As an "admin" + And sending "GET" to "/cloud/users?limit=10&offset=4" + Then the OCS status code should be "200" + And the "users" result should contain "3" of + | ebba | + | eindis | + | fjolnir | + | gunna | + | juliana | + | leo | + | stigur | + And the "users" result should contain "1" of + | allisha | + | dogukan | + | lloyd | + | priscilla | + | shannah | + Scenario: Deleting an unavailable LDAP user Given As an "admin" And sending "GET" to "/cloud/users" |