https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33503
--- Comment #8 from Olli-Antti Kivilahti <[email protected]> --- (In reply to Victor Grousset/tuxayo from comment #7) > So it was just a number-of-tests problem?! :o > Sorry, I could have fixed it. I was confused by «Failed test 'Permissions > and access to plugin routes tests'» > > Anyway, test pass so signed-off. > > I gave a go at the alternative: > «Install this plugin, and observe the routes are not loaded into the REST > API» > How? Make a GET request to /api/v1/ and you can see the schema definition. The plugin's openapi-directory has the path definitions and you can see that the path definitions are not loaded in the aforementioned schema definition from /api/v1/ This is standard Koha-plugin development workflow and it is a bit difficult to test this if there is no previous experience with developing plugins with complex rest api schemas. You have to restart plack for the route definitions to take place. I appreciate the sign-off. Also the plugin loaded into the test case explains more briefly what is the exact case that is being tested. Most plugins just have the /paths defined in the OpenAPI schema and not very many different paths. -- 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/
