]> git.koha-community.org Git - koha.git/commit
Bug 15029: Make the IssueSlip tests pass even if launched after 23:00
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Oct 2015 15:17:31 +0000 (16:17 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 24 Oct 2015 08:24:15 +0000 (21:24 +1300)
commit719f116ac9a59cd9b9f186686ed032b94bbe01ba
tree35bef04e5557168fc8fddd48b7d6c80bebb2a987
parent77aedf1f7faf1bded9ed4de41d628e2a2fc8ba7d
Bug 15029: Make the IssueSlip tests pass even if launched after 23:00

Prior to this patch, the tests did not pass if they were launched after
23:00.
DateTime complains if you ask for creating a date with hour => 24 (which
is logical so far).

Test plan:
0/ Don't apply this patch
1/ sudo date -s "2015-10-19 23:50:00";prove
t/db_dependent/Members/IssueSlip.t
2/ Apply this patch and repeat 1.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 00a4e802edf999ffbd16b15704eeb5fca4a73f84)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
t/db_dependent/Members/IssueSlip.t