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

--- Comment #15 from Marcel de Rooy <[email protected]> ---
t::lib::Mocks::mock_logger({ warn => 1 });
Koha::Logger->get->info('test');
Koha::Logger->get->warn('warn');

This does not seem to work, because we are too late. Do you expect users of
mock_logger to mock in a BEGIN block?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to