[Koha-bugs] [Bug 10277] Add C4::Context->IsSuperLibrarian()
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 16:16:11 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10277
--- Comment #30 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Kyle M Hall from comment #26)
> I have been unable to find a good way to UT this sub. MockModule doesn't
> seem to work in this context, since we are trying to mock a subroutine
> outside the module and then use the mocked sub inside the module.
It seems to work using MockModule. Have a look at my patch.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list