https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40817 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186480|0 |1 is obsolete| | --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 189614 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189614&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 <jackie.usher@westsussex.gov.uk> -- You are receiving this mail because: You are watching all bug changes.