[Koha-bugs] [Bug 19515] Refactor REST API session mocking to reduce ridiculous amounts of duplication
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 23 14:30:33 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19515
--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 68390
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68390&action=edit
Bug 19515 - Refactor REST API session mocking to reduce ridiculous amounts of
duplication
The amount of duplication in REST API tests is beyond anything.
I must be hallucinating.
This adds a t::lib::Mocks::mock_session() which mocks a session reverting to
defaults, and checks CGI::Session->flush for errors.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list