Bug 35393

Summary: Fix Objects.t for a Jenkins failure when run just after midnight
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Test SuiteAssignee: Marcel de Rooy <m.de.rooy>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:
Attachments: Bug 35393: Fix Objects.t - filter_by_last_update
Bug 35393: Fix Objects.t - filter_by_last_update

Description Marcel de Rooy 2023-11-24 07:24:21 UTC
# Subtest: Parameters older_than, younger_than
        ok 1 - All updated yesterday
        not ok 2 - Yesterday, truncated from is inclusive
        ok 3 - Yesterday, not truncated, one hour too late
        ok 4 - Yesterday - 1h, not truncated, within time frame

Run around 12:20 AM
Comment 1 Marcel de Rooy 2023-11-24 07:28:07 UTC Comment hidden (obsolete)
Comment 2 Marcel de Rooy 2023-11-24 07:28:27 UTC
Pushing into the queue of Tomas.
Comment 3 Marcel de Rooy 2023-11-24 07:30:53 UTC
Created attachment 159227 [details] [review]
Bug 35393: Fix Objects.t - filter_by_last_update

Test plan:
Keep awake until just after midnight :)
Run t/db_dependent/Koha/Objects.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-11-24 11:41:18 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!