Bug 36567: (Rmaint follow-up) fix failing test

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2024-05-29 13:09:33 +00:00
parent 300b83fb2e
commit eac97bbe63
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ sub calc_date_due {
is( ref $d eq "DateTime" && $d->mdy() =~ /^\d+/, 1, "CalcDateDue with expiry tomorrow" );
# fourth test far future
$patron->dateexpiry('4999-12-31')->store;
$patron->{dateexpiry} = '4999-12-31';
my $t1 = time;
$d = C4::Circulation::CalcDateDue( $today, $item->effective_itemtype, $branch->{branchcode}, $patron );
my $t2 = time;