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

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 198983
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198983&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to