]> git.koha-community.org Git - koha.git/commit
Bug 21116: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Aug 2018 19:24:09 +0000 (16:24 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:21:13 +0000 (17:21 +0000)
commit46c992948ea28ae2bebc7f9042df6434319b80bf
tree8f5c9dce15758e511e381a97cfccd9187138cffb
parentbe0a897648e4ae1ebb429d0829c22a8534a81606
Bug 21116: Unit tests

This path implements unit tests for the route-from-plugin development.
It adds the required methods to the Koha::Plugin::Test plugin
distributed along with the tests. A second plugin implementing invalid
OpenAPI specs is added (Koha::Plugin::BadAPIRoute).

Edit: I made terminology changes to make it less rude.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/REST/Plugin/PluginRoutes.t [new file with mode: 0644]
t/lib/Koha/Plugin/BadAPIRoute.pm [new file with mode: 0644]
t/lib/Koha/Plugin/Test.pm