[Koha-bugs] [Bug 16607] Add quiet flag to builder sub in TestBuilder

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 27 09:16:19 CEST 2016


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 51857
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51857&action=edit
Bug 16607: Add quiet flag to builder sub in TestBuilder

If you know what you are doing, you sometimes do not like to see the
warnings raised by TestBuilder.
This patch allows you to add a quiet flag to an individual build call.

Test plan:
[1] Add a CPL and a MPL branch (if not present).
[2] Run t/db_dependent/TestBuilder.t.
    You should see no difference. The fix from bug 16500 (suppressing the
    warn already) has been replaced by using the quiet flag.
[3] Run t/db_dependent/Accounts.t too.
    Before this patch, an existing MPL branch also raised a warn.
[4] Run t/db_dependent/Items/AutomaticItemModificationByAge.t too.
    This test included a check for the existence of a CPL branch.
    The check has been removed. You should see no warning.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list