[Koha-bugs] [Bug 22071] Make authenticate_api_request stash koha.user in OAuth use case
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 4 16:50:29 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22071
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83638
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83638&action=edit
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.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list