From 531bbbcaa563a5c01f073ffb173da25362add61d Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 12 Oct 2023 07:48:11 +0000 Subject: [PATCH] Bug 35041: Fix Patron.t for a filter_by_last_update test Since filter with from now tests stricter, we should be a bit more accurate with setting our test datetime. Test plan: Run t/db_dependent/Koha/Patron.t Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/Patron.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t index 44c1726a5d..ce59a5583b 100755 --- a/t/db_dependent/Koha/Patron.t +++ b/t/db_dependent/Koha/Patron.t @@ -390,7 +390,7 @@ subtest 'is_active' => sub { $old_checkout->delete; # Look at article_requests, test with since - $ago = dt_from_string->subtract( days => 10 ); + $ago = dt_from_string->subtract( days => 9, hours => 23 ); my $article_request = $builder->build_object( { class => 'Koha::ArticleRequests', -- 2.39.2