Bug 32177

Summary: Tests failing for t/db_dependent/Circulation.t
Product: Koha Reporter: David Nind <david>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: emmi.takkinen, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description David Nind 2022-11-11 11:33:25 UTC
Tests are failing on master for t/db_dependent/Circulation.t.

Identified when testing bug 31447.

Test results:

root@kohadevbox:koha(master)$ prove t/db_dependent/Circulation.t
t/db_dependent/Circulation.t .. 62/63 
    #   Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore'
    #   at t/db_dependent/Circulation.t line 5683.
    #          got: '2022-11-11T11:13:53'
    #     expected: '2022-11-25T00:00:00'

    #   Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore'
    #   at t/db_dependent/Circulation.t line 5689.
    #          got: '2022-11-11T11:13:53'
    #     expected: '2022-11-25T23:59:00'
    # Looks like you failed 2 tests of 5.

#   Failed test 'GetSoonestRenewDate tests'
#   at t/db_dependent/Circulation.t line 5694.
# Looks like you failed 1 test of 63.
t/db_dependent/Circulation.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/63 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation.t (Wstat: 256 Tests: 63 Failed: 1)
  Failed test:  63
  Non-zero exit status: 1
Files=1, Tests=63, 44 wallclock secs ( 0.12 usr  0.01 sys + 36.52 cusr  3.69 csys = 40.34 CPU)
Result: FAIL
Comment 1 David Nind 2023-01-03 19:55:51 UTC
This seems to have been fixed now - tests pass (with warnings) now on master.