Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 0547ad34df
Bug 24862: Regression tests
This patch introduces tests for the expected behaviour on API routes
that expect a logged in user, but the request is made with an anonymous
session cookie.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> FAIL: Tests fail because the situation is not handled correctly in
the code

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-16 14:44:02 +00:00
..
acquisitions_funds.t
acquisitions_orders.t
acquisitions_vendors.t
auth.t Bug 24369: Add CORS support to the API 2020-03-05 12:59:50 +00:00
auth_authenticate_api_request.t Bug 24862: Regression tests 2020-03-16 14:44:02 +00:00
auth_basic.t
biblios.t
checkouts.t
cities.t
clubs_holds.t
holds.t Bug 24813: Prevent api/v1/holds.t to fail randomly 2020-03-06 09:58:18 +00:00
illrequests.t
items.t
libraries.t
oauth.t
patrons.t
patrons_accounts.t
patrons_password.t
return_claims.t
stockrotationstage.t