From 522f9d1a5f4669b266a7945a15d837371bfcbb0f 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 Content-Type: text/plain; charset=utf-8 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 --- 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.30.2