[Koha-bugs] [Bug 31493] New: Circulation.t fails if "RenewalPeriodBase" is set as "the current date"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 10:33:16 CEST 2022


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

            Bug ID: 31493
           Summary: Circulation.t fails if "RenewalPeriodBase" is set as
                    "the current date"
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: emmi.takkinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org

Like in bug 26405 Circulation.t fails on the following error:

t/db_dependent/Circulation.t .. 15/63 
    #   Failed test 'AddRenewal left both fines'
    #   at t/db_dependent/Circulation.t line 770.
    #          got: '1'
    #     expected: '2'
    # Looks like you planned 105 tests but ran 30.
    # Looks like you failed 1 test of 30 run.
t/db_dependent/Circulation.t .. 17/63 
#   Failed test 'CanBookBeRenewed tests'
#   at t/db_dependent/Circulation.t line 1538.
Can't call method "status" on an undefined value at
t/db_dependent/Circulation.t line 772.

Apparently this is happens when syspref "RenewalPeriodBase" is set as "the
current date".

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


More information about the Koha-bugs mailing list