[Koha-bugs] [Bug 20866] New: ArticleRequests.t fails on existing requests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 4 10:25:25 CEST 2018


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

            Bug ID: 20866
           Summary: ArticleRequests.t fails on existing requests
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Subtest search_limited fails.
# Subtest: search_limited
    1..4
    ok 1 - Koha::ArticleRequests should return all article requests
    not ok 2 - Koha::ArticleRequests->search_limited should return all article
requests for superlibrarian
    #   Failed test 'Koha::ArticleRequests->search_limited should return all
article requests for superlibrarian'
    #   at t/db_dependent/ArticleRequests.t line 216.
    #          got: '1'
    #     expected: '3'
    ok 3 - Koha::ArticleRequests should return all article requests
    not ok 4 - Koha::ArticleRequests->search_limited should not return all
article requests for restricted patron
    #   Failed test 'Koha::ArticleRequests->search_limited should not return
all article requests for restricted patron'
    #   at t/db_dependent/ArticleRequests.t line 219.
    #          got: '0'
    #     expected: '2'
    # Looks like you failed 2 tests of 4.
not ok 55 - search_limited

Can be fixed by clearing the table at the start.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list