Koha-clms/xt
Jonathan Druart e109e09ae4
Bug 42581: Exclude plugins' routes from xt/api.t
If some plugins are installed and inject REST API routes, xt/api.t may fail.

Test plan:
You can install the Jump plugin (https://gitlab.com/joubu/koha-plugin-jump) and run xt/api.t
It will fail:
```
get /contrib/jump/parse -> uses tag 'parse' not present in top level list
get /contrib/jump/search -> uses tag 'search' not present in top level list
get /contrib/jump/search -> uses tag 'objects' not present in top level list
get /contrib/jump/static/static_files/commandPalette.js -> uses tag 'Jump' not present in top level list
get /contrib/jump/static/static_files/jump.css -> uses tag 'Jump' not present in top level list
[...]
```

Apply this patch and run `prove xt/api.t` again
=> It should pass

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-05-18 09:30:19 -06:00
..
author Bug 41216: Adjust POD 2026-04-10 09:48:10 -06:00
api.t Bug 42581: Exclude plugins' routes from xt/api.t 2026-05-18 09:30:19 -06:00
check_apache_conf.t Bug 41167: Add test to compare both apache conf 2025-11-17 15:15:52 -07:00
check_db_revs_sql_syntax.t Bug 40292: Use Koha::Devel::Files to list dbrevs 2025-10-31 15:26:20 -06:00
check_makefile.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
find-license-problems.t Bug 41076: Adjust our perl tidiness for v20250105 2026-02-05 09:03:51 -07:00
find-misplaced-executables.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
find-missing-auth_checks.t Bug 37762: (RM follow-up) Update auth check for new Koha::Controller::Catalogue 2026-05-08 12:25:54 -06:00
find-missing-csrf.t Bug 41812: Adjust find-missing-csrf.t test to ignore csrf input from JS 2026-02-10 15:51:54 -07:00
find-missing-filters.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
find-missing-new-lines-at-the-end-of-file.t Bug 40858: Rename context 'all' with 'core' 2025-09-24 09:24:55 -06:00
find-missing-nonce.t Bug 38365: Add test_valuebuilder_popup.tt to the exception list 2026-03-16 11:57:40 +01:00
find-missing-op-in-forms.t Bug 39055: Adjust xt tests to handle login_op 2026-03-19 10:51:48 +00:00
js_tidy.t Bug 39877: Merge vue and js tidy tests 2025-10-10 06:20:17 -06:00
perltidy.t Bug 39877: Apply to other slow tests 2025-10-10 06:20:18 -06:00
pl_valid.t Bug 39877: Incremental test runs 2025-10-10 06:20:16 -06:00
single_quotes.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
tt_kohaTable_tidy.t Bug 41324: Adjust test for bug 38365 2026-03-12 15:48:19 -06:00
tt_tidy.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
use-test-no-warnings.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
verify-debian-docbook.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
verify-yarnlock.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
verify_bib1.att.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
yaml_valid.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
yaml_valid.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00