[Koha-bugs] [Bug 16500] Catch two warns in TestBuilder.t with warning_like

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 26 21:08:46 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16500

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #3)
> I get 3 without the patch and 1 remains with the patch applied, is it
> expected?
> 
> t/db_dependent/TestBuilder.t .. 1/9 Violation of unique constraint in Branch
> at t/lib/TestBuilder.pm line 201.

Thanks.

$ prove t/db_dependent/TestBuilder.t
t/db_dependent/TestBuilder.t .. ok
All tests successful.
Files=1, Tests=9,  7 wallclock secs ( 0.06 usr  0.00 sys +  6.48 cusr  0.13
csys =  6.67 CPU)
Result: PASS

I had no warnings, because I had no MPL branch. And the patch only catches the
second build on line 57. If you do have one, the warning comes from line 56.
Will send a small follow-up.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list