[Koha-bugs] [Bug 17431] New: REST API: Fix failing test t/db_dependent/api/v1/holds.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 13:20:11 CEST 2016


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

            Bug ID: 17431
           Summary: REST API: Fix failing test
                    t/db_dependent/api/v1/holds.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lari.taskula at jns.fi
        QA Contact: testopia at bugs.koha-community.org

$ perl t/db_dependent/api/v1/holds.t
...
not ok 42 - similar match for JSON Pointer "/error"
    #   Failed test 'similar match for JSON Pointer "/error"'
    #   at t/db_dependent/api/v1/holds.t line 291.
    #                   'Reserve cannot be placed. Reason: itemAlreadyOnHold'
    #     doesn't match '(?^u:tooManyReserves)'
    # Looks like you failed 1 test of 42.
not ok 4 - Test endpoints with permission
#   Failed test 'Test endpoints with permission'
#   at t/db_dependent/api/v1/holds.t line 294.
# Looks like you failed 1 test of 4.

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