[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
Wed Jun 23 10:17:38 CEST 2021


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

--- Comment #12 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Wondering if we shouldn't use a mix of:
* https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120417
* what we have in t/Logger.t

Basically it would mock log4perl_conf for the current prove command.

But it needs to be "more global" or it won't work. Should not we actually copy
$KOHA_CONF, modify it, and set KOHA_CONF to the new file for the current prove
command?

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


More information about the Koha-bugs mailing list