]> git.koha-community.org Git - koha.git/commit
Bug 18009 - IssueSlip.t test fails if launched between 00:00 and 00:59
authorMason James <mtj@kohaaloha.com>
Sat, 28 Jan 2017 11:47:20 +0000 (00:47 +1300)
committerMason James <mtj@kohaaloha.com>
Sat, 28 Jan 2017 11:52:07 +0000 (00:52 +1300)
commitb3d40aae336021b2a6bac5ab1105efaa79cceedb
tree5f44b8c641a679dd75f7461a3fa40f3fb3d6e381
parent0f4aa2c494ce29bb81d6035004ab377e07c9e557
Bug 18009 - IssueSlip.t test fails if launched between 00:00 and 00:59

to test patch...

1/ set date between 00:00 and 00:59
$ sudo date -s 'Sun Jan 29 00:41:55 NZDT 2017'

2/ run prove, see fail
$ prove -v t/db_dependent/Members/IssueSlip.t
...
t/db_dependent/Members/IssueSlip.t (Wstat: 65280 Tests: 1 Failed: 0)
Result: FAIL

3/ apply patch

4/ run prove, see pass
$ prove -v t/db_dependent/Members/IssueSlip.t
...
All tests successful.
Result: PASS
t/db_dependent/Members/IssueSlip.t