]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 9 May 2022 21:46:16 +0000 (23:46 +0200)
commit7dfd5a74bc8d76c5e07622d5680f846fc6de3eaa
tree8adeb474d62c70839d5391df3c5a9233d4e57c69
parent0239f66f5b987b3005881a6f75b845fbf2d961d4
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>
(cherry picked from commit b8c1391c4a7e23d6c1de25bd03b95612c8f99de8)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/StockRotationItems.t