[Koha-bugs] [Bug 32713] x-koha-embed appears to no longer properly validate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 16 20:03:40 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32713
--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 148289
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148289&action=edit
Bug 32713: Unit tests
This patch adds unit tests to prove we return a 400 and an appropriate
error message when calling an endpoint that is not defined to support
x-koha-embed whilst passing an x-koha-embed header.
Test plan:
1) Run test prior to applying second patch and confirm it fails
2) Run test after applying second patch and confirm it passes
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list