@@ -, +, @@ # Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore' # at t/db_dependent/Circulation.t line 343. # got: '2022-11-18T14:16:12' # expected: '2022-12-02T00: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 349. # got: '2022-11-18T14:16:12' # expected: '2022-12-02T23:59:00' # Looks like you failed 2 tests of 5 --- t/db_dependent/Circulation.t | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -5638,7 +5638,14 @@ subtest "GetSoonestRenewDate tests" => sub { rule_value => '7', } ); - my $patron = $builder->build_object({ class => 'Koha::Patrons' }); + my $patron = $builder->build_object( + { + class => 'Koha::Patrons', + value => { + autorenew_checkouts => 1, + } + } + ); my $item = $builder->build_sample_item(); my $issue = AddIssue( $patron->unblessed, $item->barcode); my $datedue = dt_from_string( $issue->date_due() ); --