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
This commit is contained in:
parent
a101c7da1a
commit
2b2f2aa8a3
|
|
@ -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"'
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue