From 2b2f2aa8a3a89751a814db037d90c88c4b223b44 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 1 Sep 2023 10:35:19 +0000 Subject: [PATCH] Bug 30362: (Rmaint fix) Fix failing test A change was introduced in bug 31375 which is not in 22.11.x. This patch rebases the test to remove that change and fix the failing test --- t/db_dependent/Circulation.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 15aafac7ca..15a989f1d6 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -5777,7 +5777,7 @@ subtest "GetSoonestRenewDate tests" => sub { ); $issue->date_due( dt_from_string )->store; is( - GetSoonestRenewDate( $patron, $issue ), + GetSoonestRenewDate( $issue ), dt_from_string->subtract( days => 1 )->truncate( to => 'day' ), 'Checkouts with auto-renewal can be renewed 1 day before due date if no renewalbefore = 1 and precision = "date"' ); -- 2.20.1