[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 Jun 29 17:30:06 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28615
--- Comment #30 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 122496
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122496&action=edit
Bug 28615: (follow-up) Newer Test::MockModule forbid ->mock
In strict mode, ->mock is forbidden and ->redefine needs to be used
instead. I tested this on buster to see if it breaks something, but it
doesn't.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list