[Koha-bugs] [Bug 33837] Objects->filter_by_last_update: Does not allow time comparison
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 26 14:13:17 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33837
--- Comment #26 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
t/db_dependent/Koha/Objects.t
# Subtest: filter_by_last_update
ok 1 - Should raise an exception if no parameter given
ok 2 - filter_by_last_update must return a Koha::Objects-based object
ok 3 - 3 patrons have been updated before the last 2 days (exclusive)
ok 4 - 4 patrons have been updated before the last 2 days (inclusive)
ok 5 - 4 patrons have been updated before yesterday (exclusive)
ok 6 - 5 patrons have been updated before yesterday (inclusive)
ok 7 - 5 patrons have been updated before today (exclusive)
ok 8 - 6 patrons have been updated before today (inclusive)
ok 9 - 1 patron has been updated "from today" (inclusive)
ok 10 - 6 patrons have been updated "to today" (inclusive)
ok 11 - 3 patrons have been updated between D-4 and D-2
# Subtest: Parameters older_than, younger_than
ok 1 - All updated yesterday
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
1..4
ok 12 - Parameters older_than, younger_than
1..12
ok 19 - filter_by_last_update
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list