Lines 5869-5880
subtest "GetSoonestRenewDate tests" => sub {
Link Here
|
5869 |
rule_value => 1, |
5869 |
rule_value => 1, |
5870 |
} |
5870 |
} |
5871 |
); |
5871 |
); |
5872 |
$issue->date_due( dt_from_string )->store; |
5872 |
$issue->date_due(dt_from_string)->store; |
5873 |
is( |
5873 |
is( |
5874 |
GetSoonestRenewDate( $patron, $issue ), |
5874 |
GetSoonestRenewDate( $patron, $issue ), |
5875 |
dt_from_string->subtract( days => 1 )->truncate( to => 'day' ), |
5875 |
dt_from_string->subtract( days => 1 )->truncate( to => 'day' ), |
5876 |
'Checkouts with auto-renewal can be renewed 1 day before due date if no renewalbefore = 1 and precision = "date"' |
5876 |
'Checkouts with auto-renewal can be renewed 1 day before due date if no renewalbefore = 1 and precision = "date"' |
5877 |
); |
5877 |
); |
|
|
5878 |
|
5878 |
}; |
5879 |
}; |
5879 |
|
5880 |
|
5880 |
subtest "CanBookBeIssued + needsconfirmation message" => sub { |
5881 |
subtest "CanBookBeIssued + needsconfirmation message" => sub { |
5881 |
- |
|
|