Bug 25570: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 May 2020 20:48:21 +0000 (17:48 -0300)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 23 Jul 2020 22:12:28 +0000 (00:12 +0200)
commitddbdc549c45399ed4610ae8e47459860b27a69a3
tree9b24fafbddab077c82970f68537a9c4d458fcba0
parent3b4064ca8ead9279f5e2ef3e78c5bff7f6aa4466
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>
(cherry picked from commit fc8bde417820d2f287df997a44136ea0b504b0f7)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

(cherry picked from commit 429d56d3894cffb4febe45616a3073e95191af67)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Koha/REST/Plugin/Objects.t