[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 01:43:50 CEST 2021


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Why do we need to mock the logger? 

Regarding log permissions, we'd just need to make sure to pass it the right
configuration. 

I don't see why mocking would help in terms of testing $logger->debug calls?

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


More information about the Koha-bugs mailing list