[Koha-bugs] [Bug 17032] REST API tests: Make sure Swagger object definition is up-to-date with database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 17:48:55 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17032
--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 53936
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53936
Bug 17032: Make sure Swagger object definition is up-to-date with Koha-object
Review of attachment 53936:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17032&attachment=53936)
-----------------------------------------------------------------
::: t/db_dependent/api/v1/swagger/definitions.t
@@ +72,5 @@
> +
> + $name = "Koha::" . ucfirst $name;
> +
> + return eval {
> + Module::Load::load($name);
The correct way to do that is to use Module::Load::Conditional.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list