Koha/t/Koha
Martin Renvoize 2202f7f2c2
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>
2023-03-16 16:12:26 -03:00
..
Auth Bug 20256: Add unit tests 2023-02-02 11:59:26 -03:00
Authority
Database Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
I18N/po/xx_XX/LC_MESSAGES Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
Middleware Bug 28200: Remove unit test using abbreviated format 2021-05-17 12:29:14 +02:00
Object Bug 29857: (follow-up) Fix t/Koha/Object/Message.t 2022-03-02 09:40:05 -10:00
Plugins Bug 29857: (follow-up) Fix t/Koha/Plugins/Tab.t 2022-03-02 09:40:05 -10:00
REST/Plugin Bug 32713: Unit tests 2023-03-16 16:12:26 -03:00
Result Bug 29746: (it-doesn't-hurt follow-up) More tests 2022-01-05 13:33:46 -10:00
SearchEngine Bug 31106: Unit tests 2022-07-18 14:37:35 -03:00
Util Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
Config.t Bug 28998: Add encryption_key to the config file 2022-05-04 05:18:31 -10:00
Email.t Bug 29857: (follow-up) Fix t/Koha/Email.t 2022-03-02 09:40:05 -10:00
Exceptions.t Bug 29857: Unit tests 2022-03-01 22:47:47 -10:00
I18N.t
ItemType.t
RDF.t
Script.t
Script_cron.t
sleep.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
wait.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Z3950responder.t