Bug 36567: (Rmaint follow-up) fix failing test
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
300b83fb2e
commit
eac97bbe63
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue