Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-01-28 16:20:03 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-01-29 16:25:22 +0300
commit3494f2794d931ea96429b6fd3bd4bfa828e94a5a (patch)
treedc9e3f17034fda93d3fa86fb8e1dc4f32571e8b9
parentfe1500ff36dbe7e60d0bb285a7eec9d7aac6c7a9 (diff)
integration test: pages search scenario with multiple bases
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--.drone.yml2
-rw-r--r--build/integration/ldap_features/openldap-uid-username.feature22
2 files changed, 23 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 0d25c66472c..f2e8b7bafd5 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1170,7 +1170,7 @@ services:
matrix:
TESTS: acceptance
openldap:
- image: nextcloudci/openldap:openldap-5
+ image: nextcloudci/openldap:openldap-6
environment:
- SLAPD_DOMAIN=nextcloud.ci
- SLAPD_ORGANIZATION=Nextcloud
diff --git a/build/integration/ldap_features/openldap-uid-username.feature b/build/integration/ldap_features/openldap-uid-username.feature
index d267870ca26..3c87c479de2 100644
--- a/build/integration/ldap_features/openldap-uid-username.feature
+++ b/build/integration/ldap_features/openldap-uid-username.feature
@@ -86,3 +86,25 @@ Feature: LDAP
| juliana |
| leo |
| stigur |
+
+ Scenario: Fetch from second batch of all users, invoking pagination with two bases
+ 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=2"
+ Then the OCS status code should be "200"
+ And the "users" result should contain "5" of
+ | ebba |
+ | eindis |
+ | fjolnir |
+ | gunna |
+ | juliana |
+ | leo |
+ | stigur |
+ And the "users" result should contain "3" of
+ | allisha |
+ | dogukan |
+ | lloyd |
+ | priscilla |
+ | shannah |