diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-03-18 17:40:23 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-04-14 12:58:28 +0200 |
commit | 84619a5b9c58ec7f4e3d7faea8c60a187cb61243 (patch) | |
tree | 2572e5f939f8c6bd76b4611c432aad3721b0b62e /build/integration | |
parent | e4d378d01e67c41fa64a12662128ba25a0b27133 (diff) | |
download | nextcloud-server-84619a5b9c58ec7f4e3d7faea8c60a187cb61243.tar.gz nextcloud-server-84619a5b9c58ec7f4e3d7faea8c60a187cb61243.zip |
use serverControls directly with LDAP calls, fixes 19127
- adapters for PHP API version to Support PHP < 7.3
- switch to pass only one base per search
- cookie logic is moved from Access to API adapters
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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" |