Bugzilla – Attachment 156916 Details for
Bug 35041
Fix Jenkins failure on t_db_dependent_Koha_Patron_t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35041: Fix Patron.t for a filter_by_last_update test
Bug-35041-Fix-Patront-for-a-filterbylastupdate-tes.patch (text/plain), 1.09 KB, created by
Marcel de Rooy
on 2023-10-12 07:50:53 UTC
(
hide
)
Description:
Bug 35041: Fix Patron.t for a filter_by_last_update test
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-10-12 07:50:53 UTC
Size:
1.09 KB
patch
obsolete
>From 522f9d1a5f4669b266a7945a15d837371bfcbb0f Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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 <m.de.rooy@rijksmuseum.nl> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35041
: 156916