summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-01-28 14:20:03 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-01-30 12:12:14 +0100
commit0306473a59ed51e993ee37c8e3569b07a83c1441 (patch)
treeb6bc789b63f7cc6ea59dc38878c9d7431ef1dea9 /build
parent1ee53d679674ea059844df17acbd233c79b8ec35 (diff)
downloadnextcloud-server-0306473a59ed51e993ee37c8e3569b07a83c1441.tar.gz
nextcloud-server-0306473a59ed51e993ee37c8e3569b07a83c1441.zip
integration test: pages search scenario with multiple bases
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build')
-rw-r--r--build/integration/ldap_features/openldap-uid-username.feature22
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 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 |