Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 41abacfbaa
Bug 24232: Regression tests
This patch enhances the tests for the DELETE /biblios/:biblio_id
endpoint so more fine grained permissions are tested.

It highlights the fact that the required permissions defined on the spec
are not correcttly defined.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/biblios.t
=> FAIL: Tests fail because the user (that now has subpermissions only)
does not have enough permissions for a non-existent subpermission

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-20 12:07:09 +00:00
..
acquisitions_funds.t
acquisitions_vendors.t
auth.t
auth_authenticate_api_request.t
auth_basic.t
biblios.t Bug 24232: Regression tests 2019-12-20 12:07:09 +00:00
checkouts.t
cities.t Bug 23859: Update tests to new style 2019-11-01 08:48:18 +00:00
clubs_holds.t
holds.t
illrequests.t
items.t
libraries.t
oauth.t
patrons.t Bug 23860: Update tests to new style 2019-11-01 08:48:39 +00:00
patrons_accounts.t
patrons_password.t
return_claims.t Bug 14697: (QA follow-up) Organize tests in subtests 2019-10-31 12:05:14 +00:00
stockrotationstage.t