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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 20 Oct 2015 17:21:05 +0000 (14:21 -0300)
commit00a4e802edf999ffbd16b15704eeb5fca4a73f84
tree57f8173f158a696e655bbb8d59bf60840334b052
parent0dfa8c2b67792b86f054b32c82122607bcade2b5
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>
t/db_dependent/Members/IssueSlip.t