Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 2067b8e3f8 Bug 22071: Regression tests
The authenticate_api_request() behaviour needs more tests. This patch
adds tests for the stashed Koha::Patron object. It highlights the bug in
the OAuth authentication case.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> FAIL: Tests fail in the OAuth case, pass in the cookie-based auth
case.

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-04 03:13:39 +00:00
..
acquisitions_vendors.t
auth.t
auth_authenticate_api_request.t Bug 22071: Regression tests 2019-01-04 03:13:39 +00:00
cities.t
holds.t
illrequests.t
oauth.t
patrons.t
patrons_accounts.t Bug 21786: Unit tests 2019-01-08 15:50:50 +00:00
stockrotationstage.t