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

--- Comment #2 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 204965
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204965&action=edit
Bug 43460: Add tests for x-koha-raw-payload

Adds echo_raw and echo_converted routes to the Test plugin fixture,
one setting x-koha-raw-payload and one without it, both echoing the
request body. Posts a real NCIP-style XML message with attributes
through Koha::REST::V1 via Test::Mojo: the flagged route returns the
exact bytes sent, while the default route shows the controller only
sees the body after attributes were silently dropped by the
XML<->JSON conversion.

prove t/db_dependent/Koha/REST/V1.t

Co-Authored-By: Claude Sonnet 5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to