[Koha-bugs] [Bug 33107] New: Expiry date tests failing on March 1st 2023

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 12:27:02 CET 2023


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

            Bug ID: 33107
           Summary: Expiry date tests failing on March 1st 2023
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 17699

prove t/db_dependent/Koha/Patron/Categories.t 
t/db_dependent/Koha/Patron/Categories.t .. 1/10 
    #   Failed test 'With enrolmentperiod defined and a date given in
parameter, ->get_expiry_date should take this date + enrolmentperiod'
    #   at t/db_dependent/Koha/Patron/Categories.t line 81.
    #          got: '-1'
    #     expected: '0'
    # Looks like you failed 1 test of 5.

#   Failed test 'get_expiry_date'
#   at t/db_dependent/Koha/Patron/Categories.t line 87.
# Looks like you failed 1 test of 10.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17699
[Bug 17699] DateTime durations are not correctly subtracted
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list