Bug 16500: Catch two warns in TestBuilder.t with warning_like
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 11 May 2016 12:49:07 +0000 (14:49 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Jun 2016 14:42:08 +0000 (14:42 +0000)
commit395ac8835a582a2bb38aaa3259c4196b81142dd4
treedf2640cc55f29fa0d7b9acc0e5951f77bd7f5cca
parentb8c950a4c1b1ead8a58686b27c95f9891cdccbae
Bug 16500: Catch two warns in TestBuilder.t with warning_like

When testing a wrong case in TestBuilder.t, two warns show up.
We can catch them with warning_like.

Test plan:
Run t/db_dependent/TestBuilder.t

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/TestBuilder.t