diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-04 10:05:28 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-06-15 06:49:03 +0000 |
commit | a8ef2418f2f99cfe3b405fe9a076d843f4182881 (patch) | |
tree | 14e37ac1dc0ac376c544e52f9d3036c1f9035777 /apps/dav/tests/unit | |
parent | d6923b4bb586defef6a3f4b01163671fe420da37 (diff) | |
download | nextcloud-server-a8ef2418f2f99cfe3b405fe9a076d843f4182881.tar.gz nextcloud-server-a8ef2418f2f99cfe3b405fe9a076d843f4182881.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']]], ]; |