]> git.koha-community.org Git - koha.git/commit
Bug 8365: Add unit tests and fix QA issues
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 13 Feb 2013 14:08:41 +0000 (15:08 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 22 Mar 2013 11:57:02 +0000 (07:57 -0400)
commitf35dbbf42eb7f5f9a1412d13a487e0e8eed65ef0
treefb9ebcda05973c20a9575d13ea715966a1225098
parent8ad00bc02ff23e0dad6661da9ff6b11745cda6f7
Bug 8365: Add unit tests and fix QA issues

This patch adds some unit tests for CalcDateDue and GetLoanLength

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.

Tests done:
- Checked update works correctly for existing circulation rules.
- Adding, deleting and overwriting circulation rules works.
- Renewals work for different circulation rules and changes
  to the holiday calendar.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Circulation.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
t/db_dependent/Circulation_issuingrules.t [new file with mode: 0644]