https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24862 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 100683 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100683&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.