Bug 30518: Unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 13 Apr 2022 07:52:02 +0000 (08:52 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 3 May 2022 19:51:01 +0000 (19:51 +0000)
commitb8c1391c4a7e23d6c1de25bd03b95612c8f99de8
tree4af7ac648b614aedb21b0cf248451c01eca6072c
parent5d186936ca80a5f78892fc6131d0067454c3e4c7
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>
(cherry picked from commit 4450ad21100a02055e3f0f05918b2d4b17852107)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/StockRotationItems.t