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@lists.koha-community.org Reporter: olli-antti.kivilahti@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.