https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383 --- Comment #116 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 209776 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209776&action=edit Bug 42383: (QA follow-up) Add API tests for recall_confirmation This patch adds tests for POST /checkins/{checkin_id}/recall_confirmation in line with the existing hold and transfer sub-resource tests. They cover: - 404 when the checkin does not exist - 403 when the user lacks the circulate permission - 400 when the checkin has no recall - 201 setting the recall waiting at the checkin library - 201 setting the recall in transit when the pickup library differs It addresses point 21 of the QA comment. Test plan: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/checkins.t => SUCCESS: Tests pass! 3. Sign off :-D Assisted-by: Opus 5.5 (Anthropic) -- You are receiving this mail because: You are watching all bug changes.