From eac97bbe638d88b0f7bf938864e28fea077ff726 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 29 May 2024 13:09:33 +0000 Subject: [PATCH] Bug 36567: (Rmaint follow-up) fix failing test Signed-off-by: Lucas Gass --- t/db_dependent/Circulation/dateexpiry.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation/dateexpiry.t b/t/db_dependent/Circulation/dateexpiry.t index ec242083cc..a2e3693f5b 100755 --- a/t/db_dependent/Circulation/dateexpiry.t +++ b/t/db_dependent/Circulation/dateexpiry.t @@ -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; -- 2.39.5