[Koha-bugs] [Bug 27587] New: Use Basic auth on API tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 1 20:48:06 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27587

            Bug ID: 27587
           Summary: Use Basic auth on API tests
 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: tomascohen at gmail.com

Even if it is correct to use either authentication method, we are trying to
clean our tests so consistency is key for users using existing tests as
examples for the new ones they want/need to introduce.

There are specific tests for the cookie (and OAuth2) authentication, so we can
use the built-in Basic authentication mechanism from Test::Mojo and have
simpler tests written.

This bug should include patches to fix existing tests.

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