Tomas Cohen Arazi
b092bdd20d
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> |
||
---|---|---|
.. | ||
acquisitions_funds.t | ||
acquisitions_orders.t | ||
acquisitions_vendors.t | ||
advanced_editor_macros.t | ||
auth.t | ||
auth_authenticate_api_request.t | ||
auth_basic.t | ||
biblios.t | ||
checkouts.t | ||
cities.t | ||
clubs_holds.t | ||
holds.t | ||
illrequests.t | ||
items.t | ||
libraries.t | ||
oauth.t | ||
patrons.t | ||
patrons_accounts.t | ||
patrons_password.t | ||
return_claims.t | ||
smtp_servers.t | ||
stockrotationstage.t |