]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 29 Oct 2015 22:51:14 +0000 (11:51 +1300)
commitd08be44641d9732e0c2fd1b5bffa746e8abc361c
treea518bc700cb4a8f09f6eb84c90a9b42754583ba2
parent67a3dc23f4688cbc3cd1f8daf997406ea7bda577
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>
(cherry picked from commit 719f116ac9a59cd9b9f186686ed032b94bbe01ba)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
t/db_dependent/Members/IssueSlip.t