23 Jun
2021
23 Jun
'21
12:46 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28615 --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to David Cook from comment #3)
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?
How would you test a function call added a warning under certain conditions? -- You are receiving this mail because: You are watching all bug changes.