]> git.koha-community.org Git - koha.git/commit
Bug 14101: Unit tests
authorHolger Meißner <h.meissner.82@web.de>
Tue, 22 Sep 2015 12:03:33 +0000 (14:03 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Nov 2015 13:13:48 +0000 (10:13 -0300)
commit4fb4e16d8cd65e1d7e75afe65147a5f2a6a20ebb
treebb0518a47cfde26990e75513cb08f9753e75f314
parenta68d565622abefe7acb4aca617d1ca064bc2fd62
Bug 14101: Unit tests

This patch adds new test cases to check if CanBookBeRenewed provides
correct return values and error codes for premature renewals. Both manual
and automatic renewals and different settings for 'No renewal before'
are tested.

To test:
1) prove t/db_dependent/Circulation.t

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Circulation.t