[Koha-bugs] [Bug 28615] Add a simple way to mock Koha::Logger

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 6 10:09:30 CEST 2021


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

--- Comment #32 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I thought we would need to mock it for every test where Koha::Logger was used.

But I added a Koha::Logger->get->warn call to AddIssue and
t/db_dependent/Circulation.t is passing.

Did you explain why t/Auth_with_shibboleth.t was failing with the following
error/warning?
t/Auth_with_shibboleth.t .. 1/17 Log::Log4perl configuration looks suspicious:
No loggers defined at /usr/share/perl5/Log/Log4perl/Config.pm line 325.

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


More information about the Koha-bugs mailing list