Koha/t/db_dependent/api/v1
Julian Maurice 088522032f
Bug 23154: Add pagination to /api/v1/checkouts
Allow to use _page and _per_page query parameters for
/api/v1/checkouts
Also fix a timezone problem in t/db_dependent/api/v1/checkouts.t

Test plan:
1. With your favorite REST tester tool, or directly in the browser,
   fetch http://koha/api/v1/checkouts and check that you have results
2. Fetch /api/v1/checkouts?_per_page=1&_page=1 and check that only the
   first result is returned. Check that response contains headers
   X-Total-Count and Link
3. Fetch /api/v1/checkouts?_per_page=1&_page=2 and check that only the
   second result is returned. Check that response contains headers
   X-Total-Count and Link
4. prove t/db_dependent/api/v1/checkouts.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-24 16:14:42 +01:00
..
acquisitions_funds.t Bug 19661: (follow-up) Use Basic auth in tests 2019-03-22 19:40:37 +00:00
acquisitions_vendors.t
auth.t
auth_authenticate_api_request.t
auth_basic.t
biblios.t Bug 15496: (QA follow-up) Change success status on api 2019-04-26 12:06:58 +00:00
checkouts.t Bug 23154: Add pagination to /api/v1/checkouts 2019-06-24 16:14:42 +01:00
cities.t
holds.t
illrequests.t Bug 18589: (follow-up) Add borrowernumber test 2019-03-22 20:21:49 +00:00
libraries.t
oauth.t Bug 23146: Unit tests 2019-06-24 16:05:24 +01:00
patrons.t Bug 21336: Fix the API 2019-04-18 09:49:57 +00:00
patrons_accounts.t Bug 22600: Update Tests adding 'interface' as needed 2019-04-10 19:43:11 +00:00
patrons_password.t
stockrotationstage.t