22:56:03 koha_1 | # Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore' 22:56:03 koha_1 | # at t/db_dependent/Circulation.t line 5440. 22:56:03 koha_1 | # got: '2023-01-17T21:50:57' 22:56:03 koha_1 | # expected: '2023-01-31T00:00:00' 22:56:03 koha_1 | 22:56:03 koha_1 | # Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore' 22:56:03 koha_1 | # at t/db_dependent/Circulation.t line 5446. 22:56:03 koha_1 | # got: '2023-01-17T21:50:57' 22:56:03 koha_1 | # expected: '2023-01-31T23:59:00' 22:56:03 koha_1 | # Looks like you failed 2 tests of 5. 22:56:03 koha_1 | 22:56:03 koha_1 | # Failed test 'GetSoonestRenewDate tests' 22:56:03 koha_1 | # at t/db_dependent/Circulation.t line 5451. 22:56:03 koha_1 | # Looks like you failed 1 test of 60. 22:56:03 koha_1 | [21:52:03] t/db_dependent/Circulation.t Koha_22.05_U20/130
I recreated locally, 22.05 and focal, after 100 runs # Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore' # at t/db_dependent/Circulation.t line 341. # got: '2023-01-18T15:42:43' # expected: '2023-02-01T00: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 347. # got: '2023-01-18T15:42:43' # expected: '2023-02-01T23:59:00' # Looks like you failed 2 tests of 5. # Failed test 'GetSoonestRenewDate tests' # at t/db_dependent/Circulation.t line 352. Line numbers differ as I removed all the tests before.
# Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore' # at t/db_dependent/Circulation.t line 341. # got: '2023-01-18T16:10:12' # expected: '2023-02-01T00: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 347. # got: '2023-01-18T16:10:12' # expected: '2023-02-01T23:59:00'
(In reply to Jonathan Druart from comment #2) > # got: '2023-01-18T16:10:12' which is $now, so we hit return $now in GetSoonestRenewDate
*** This bug has been marked as a duplicate of bug 32269 ***