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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
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