[Koha-bugs] [Bug 33500] New: Failing test for t/db_dependent/Circulation.t when RecordLocalUseOnReturn is set to record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 11 23:47:12 CEST 2023


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

            Bug ID: 33500
           Summary: Failing test for t/db_dependent/Circulation.t when
                    RecordLocalUseOnReturn is set to record
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate:

-Set the sys pref 'RecordLocalUseOnReturn' to 'record'.
-prove -v /kohadevbox/koha/t/db_dependent/Circulation.t


# Subtest: Tests for BlockReturnOfWithdrawnItems
    1..1
    not ok 1 - Item returned as withdrawn, no other messages

    #   Failed test 'Item returned as withdrawn, no other messages'
    #   at /kohadevbox/koha/t/db_dependent/Circulation.t line 5816.
    #     Structures begin differing at:
    #          $got->[1]{LocalUse} = '1'
    #     $expected->[1]{LocalUse} = Does not exist
    # Looks like you failed 1 test of 1.
not ok 65 - Tests for BlockReturnOfWithdrawnItems
# Subtest: Tests for transfer not in transit

#   Failed test 'Tests for BlockReturnOfWithdrawnItems'
#   at /kohadevbox/koha/t/db_dependent/Circulation.t line 5819.
    1..2
    not ok 1 - Item is reported to have been transferred

    #   Failed test 'Item is reported to have been transferred'
    #   at /kohadevbox/koha/t/db_dependent/Circulation.t line 5837.
    #     Structures begin differing at:
    #          $got->[1]{LocalUse} = '1'
    #     $expected->[1]{LocalUse} = Does not exist
    ok 2 - The datesent field is populated, i.e. transfer is initiated
    # Looks like you failed 1 test of 2.
not ok 66 - Tests for transfer not in transit

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


More information about the Koha-bugs mailing list