https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40817

--- Comment #18 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193206
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193206&action=edit
Bug 40817: Add API tests for hold-debits embedding

This patch adds comprehensive API tests to verify the new hold-debits
embedding functionality:

holds.t:
- Test GET /holds with debits embedding returns correct structure
- Test POST /holds response includes embedded debits when requested
- Verify embedded debits contain expected account line data
- Test embedding works with both successful and failed hold creation

patrons_holds.t:
- Test GET /patrons/{id}/holds with debits embedding
- Verify patron-specific hold debits are correctly returned
- Test embedding parameter validation and error handling
- Ensure proper authorization and access control

Signed-off-by: Jackie Usher <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to