Bug 17770: Fix Sitemapper.t if date changes during test run
authorMark Tompsett <mtompset@hotmail.com>
Mon, 6 Nov 2017 19:49:27 +0000 (19:49 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Dec 2017 16:07:55 +0000 (13:07 -0300)
commitc269a0148661a2f39e75688eeaf9be48f0926cf6
tree31014abd5cd59ade0fa9d92632fc5e30582c5a8d
parent325fddd8e911a7efe1342d61f21803d24f785dec
Bug 17770: Fix Sitemapper.t if date changes during test run

To compensate, DateTime->now is mocked to the current date.

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Sitemapper.t