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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2023-10-12 07:48:11 +00:00 committed by Tomas Cohen Arazi
parent 1a2288052d
commit 531bbbcaa5
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -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',