[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
Thu Jun 24 14:57:08 CEST 2021


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

--- Comment #19 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
The following line:
  t::lib::Mocks::mock_logger({ warn => 1 });

needs to be:
  my $m = t::lib::Mocks::mock_logger({ warn => 1 });

Or the module won't be mocked correctly.

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


More information about the Koha-bugs mailing list