[Koha-bugs] [Bug 23038] Expected warnings displayed by tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 3 18:42:51 CEST 2019


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 90278
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90278&action=edit
Bug 23038: Hide expected warnings from tests

When tests are ran, there are 2 warnings that are expected and raised by
DBI.
As they are expected they must be correctly caught and not displayed.

We could have reconnect with PrintError turned off, but then reconnect
with it on.

Test plan:
% prove t/db_dependent/Circulation/MarkIssueReturned.t
t/db_dependent/Suggestions.t
Must not display DBI warnings

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


More information about the Koha-bugs mailing list