]> git.koha-community.org Git - koha.git/commit
Bug 22930: Make TestBuilder->build_object explodes if parameters are wrong
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 16 May 2019 17:56:07 +0000 (12:56 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 May 2019 19:30:55 +0000 (20:30 +0100)
commitb6ba99e327bdb1867893d1ed2a98d705f34cbe8a
tree36ddaeec291e3174290f72131077daefc998333c
parentb2e2b918b0d3703ace65dddee451e160021bb45a
Bug 22930: Make TestBuilder->build_object explodes if parameters are wrong

This patch implements bug 15339 for build_object.
We want it to warn if the call is wrong.

Test plan:
Make sure the tests are still returning green

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 52325a771a02b603e807c29d586fe44fabebb792)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm