]> git.koha-community.org Git - koha.git/commit
Bug 25048: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Apr 2020 21:38:33 +0000 (18:38 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Apr 2020 15:24:37 +0000 (16:24 +0100)
commitb33d69684f24249fd14c668fd2164cea380697db
tree292562c77917c0b7795ddc04ed57f6b9dc0ffebd
parentb6d25fbb674ed58c727987b0a952efaadf27a305
Bug 25048: Regression tests

This patch adds regression tests for the response bodies and statuses on
DELETE actions against existing API routes. This is just enforcing the
existing (voted) Coding guidelines for the API (tm).

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/*.t
=> FAIL: Several routes have problems

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/acquisitions_vendors.t
t/db_dependent/api/v1/cities.t
t/db_dependent/api/v1/holds.t
t/db_dependent/api/v1/patrons.t