Bug 14494: Add some unit tests too for CalcDateDue
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 9 Jul 2015 13:35:53 +0000 (15:35 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 20 Jul 2015 13:16:24 +0000 (10:16 -0300)
commit1a8962f306d2d2f0c7789c649aa615192ccd5ca1
tree9c7a267da246eefd9b5188c0b983d4a9f8c4a14b
parente0986f5a796b24d6fec00d849f7c71caf0dd5640
Bug 14494: Add some unit tests too for CalcDateDue

The second patch of this report made some changes to CalcDateDue.
We are adding some unit tests here.
See the commments on the third patch too.

Test plan:
Run t/db_dependent/Circulation_dateexpiry.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: Set the number of tests for the second subtest (was
commented) and perltidy the second block.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
t/db_dependent/Circulation_dateexpiry.t