diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-04 10:05:28 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-10 09:38:59 +0200 |
commit | fdd8c86c60bcfcaa5e4018e3c637be5273967d17 (patch) | |
tree | 96091e3b88683455a44bd33d00a2e7d305eb4655 /apps/dav/tests/unit | |
parent | 9806dec9b3f985ce8a05c9852064e38fa7b199a5 (diff) | |
download | nextcloud-server-fdd8c86c60bcfcaa5e4018e3c637be5273967d17.tar.gz nextcloud-server-fdd8c86c60bcfcaa5e4018e3c637be5273967d17.zip |
Fix pagination of contacts search
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r-- | apps/dav/tests/unit/CardDAV/CardDavBackendTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php index 8bde309b5a7..27139dfd470 100644 --- a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php +++ b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php @@ -759,6 +759,8 @@ class CardDavBackendTest extends TestCase { ['Do', ['FN'], [], [['uri0', 'John Doe'], ['uri1', 'John M. Doe']]], 'check if duplicates are handled correctly' => ['John', ['FN', 'CLOUD'], [], [['uri0', 'John Doe'], ['uri1', 'John M. Doe']]], 'case insensitive' => ['john', ['FN'], [], [['uri0', 'John Doe'], ['uri1', 'John M. Doe']]], + 'limit' => ['john', ['FN'], ['limit' => 1], [['uri0', 'John Doe']]], + 'limit and offset' => ['john', ['FN'], ['limit' => 1, 'offset' => 1], [['uri1', 'John M. Doe']]], 'find "_" escaped' => ['_', ['CLOUD'], [], [['uri2', 'find without options']]], 'find not empty ClOUD' => ['%_%', ['CLOUD'], ['escape_like_param'=>false], [['uri0', 'John Doe'], ['uri2', 'find without options']]], ]; |