Bug 30518: Unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 13 Apr 2022 07:52:02 +0000 (08:52 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2022 15:15:03 +0000 (11:15 -0400)
commit4450ad21100a02055e3f0f05918b2d4b17852107
treede69fe923e92be083f42032b904304b07f7772cb
parentf3451d48424e243b78e196c0ee3c3e40cb0320d6
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/StockRotationItems.t