Bug 14395: Unit tests
authorHolger Meißner <h.meissner.82@web.de>
Mon, 27 Jul 2015 13:18:53 +0000 (15:18 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 26 Feb 2016 14:28:41 +0000 (14:28 +0000)
commit69364a41db8879d0b3524d7cf0d31cd48079e35b
treea2734de43888cac97ff19e2672b8077f54ec8c76
parentb52e8792093b8e26cf473437694458a52f251c3b
Bug 14395: Unit tests

This patch adds test cases for the new syspref NoRenewalBeforePrecision.
Tests if GetSoonestRenewDate returns correct values for both 'date' and
'exact_time' settings.
Also adds a few comments related to bugs 7413 and 14101.

To test:

1) prove t/db_dependent/Circulation.t

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
t/db_dependent/Circulation.t