Koha-clms/Koha/REST
Tomas Cohen Arazi b092bdd20d Bug 14708: (QA follow-up) Add tests
This patch adds tests for the change. It also simplifies the delete()
method structure a bit. It fixes the error 500 the tests were raising.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/patrons.t
=> FAIL: Tests fail!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass! The new behaviour (code 403) is tested!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-06 09:40:26 +01:00
..
Plugin Bug 25504: Use Koha::Logger and display the full stacktrace 2020-08-31 16:10:25 +02:00
V1 Bug 14708: (QA follow-up) Add tests 2020-11-06 09:40:26 +01:00
V1.pm Bug 25504: (QA follow-up) Remove unused include 2020-08-31 16:10:25 +02:00