http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10277

Kyle M Hall <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #26 from Kyle M Hall <[email protected]> ---
(In reply to Jonathan Druart from comment #24)
> unit tests should be provided for the new IsSuperLibrarian routine.

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.

On the other hand, this subroutine is literally two lines. If you have an idea
on how to unit test this sub, please let me know!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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