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:
parent
1a2288052d
commit
531bbbcaa5
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue