Bugzilla – Attachment 153920 Details for
Bug 33837
Objects->filter_by_last_update: Does not allow time comparison
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33837: Perl tidy block in Objects.t
Bug-33837-Perl-tidy-block-in-Objectst.patch (text/plain), 1.27 KB, created by
Marcel de Rooy
on 2023-07-26 12:17:36 UTC
(
hide
)
Description:
Bug 33837: Perl tidy block in Objects.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-07-26 12:17:36 UTC
Size:
1.27 KB
patch
obsolete
>From 56ccd0424c2b07755202989c3324770520c4c883 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 26 Jul 2023 12:15:59 +0000 >Subject: [PATCH] Bug 33837: Perl tidy block in Objects.t >Content-Type: text/plain; charset=utf-8 > >WARN t/db_dependent/Koha/Objects.t > WARN tidiness > The file is less tidy than before (bad/messy lines before: 319, now: 320) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Objects.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Objects.t b/t/db_dependent/Koha/Objects.t >index b7cda24f4e..9891b37896 100755 >--- a/t/db_dependent/Koha/Objects.t >+++ b/t/db_dependent/Koha/Objects.t >@@ -1198,7 +1198,10 @@ subtest "filter_by_last_update" => sub { > ); > is( > $rs->filter_by_last_update( >- { timestamp_column_name => 'updated_on', from => $now->clone->subtract( days => 1 )->truncate( to => 'day' ) } >+ { >+ timestamp_column_name => 'updated_on', >+ from => $now->clone->subtract( days => 1 )->truncate( to => 'day' ) >+ } > )->count, > 6, > 'Yesterday, truncated from is inclusive' >-- >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 33837
:
151720
|
151721
|
151722
|
151723
|
153778
|
153898
|
153900
|
153915
|
153916
|
153917
|
153918
|
153919
|
153920
|
153947
|
153948
|
153949
|
153950
|
153951