Bug 25570: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 May 2020 20:48:21 +0000 (17:48 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 15:42:49 +0000 (15:42 +0000)
commitfc8bde417820d2f287df997a44136ea0b504b0f7
tree223270b9c1d1dcdba05d6b842479184f380b53a7
parente6d22b9e9fa4169a8fb0e283e460d05c09276498
Bug 25570: Regression tests

This tests verify that the default behaviour is to paginate the results.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t
=> FAIL: $c->objects->search doesn't paginate results by default

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2220ce4d50998bef1dcea787d212a287a802b0aa)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/REST/Plugin/Objects.t