[Koha-bugs] [Bug 19515] New: 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:29:20 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19515
Bug ID: 19515
Summary: Refactor REST API session mocking to reduce ridiculous
amounts of duplication
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST api
Assignee: koha-bugs at lists.koha-community.org
Reporter: olli-antti.kivilahti at jns.fi
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 the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list