]> git.koha-community.org Git - koha.git/commit
Bug 30518: Unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 13 Apr 2022 07:52:02 +0000 (08:52 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Apr 2022 07:25:50 +0000 (21:25 -1000)
commitae557cfa91655b6bb8316b1a4632876f08a54640
tree3d3cba3a917effe65d2f1edb0b37753f89944ff3
parentc3642d51a12bab8ae63ce026325aca5c936c533f
Bug 30518: Unit test

This patch adds tests for checking the needs_advancing method against
a timezone and datetime that would cause an Invalid local time failure

To test:
1. Apply this patch
2. Run:
   $ kshell
   k$ prove t/db_dependent/StockRotationItems.t
=> FAIL: The feature is not implemented, tests fail to complete

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/StockRotationItems.t