Koha-clms/t/Koha
Martin Renvoize f481f79d83 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@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2202f7f2c2)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-03-21 16:30:33 +00:00
..
Auth Bug 31378: (follow-up) Fix t/Koha/Auth/Permissions.t 2022-11-08 23:40:30 -03:00
Authority
…
Database
…
I18N/po/xx_XX/LC_MESSAGES
…
Middleware
…
Object
…
Plugins
…
REST/Plugin Bug 32713: Unit tests 2023-03-21 16:30:33 +00:00
Result
…
SearchEngine
…
Util
…
Config.t
…
Email.t
…
Exceptions.t
…
I18N.t
…
ItemType.t
…
RDF.t
…
Script.t
…
Script_cron.t
…
Z3950responder.t
…
sleep.pl
…
wait.pl
…