Tomas Cohen Arazi
2067b8e3f8
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> |
||
---|---|---|
.. | ||
acquisitions_vendors.t | ||
auth.t | ||
auth_authenticate_api_request.t | ||
cities.t | ||
holds.t | ||
illrequests.t | ||
oauth.t | ||
patrons.t | ||
patrons_accounts.t | ||
stockrotationstage.t |