Bug 25570: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 May 2020 20:48:21 +0000 (17:48 -0300)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 12 Jul 2020 22:46:14 +0000 (10:46 +1200)
commit429d56d3894cffb4febe45616a3073e95191af67
tree1d13a4a2d858f41f32952e191bdb83cda7216804
parentc21ae5e5177ec9180f07fd5639b7e9912aadfdc1
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>
t/db_dependent/Koha/REST/Plugin/Objects.t