]> git.koha-community.org Git - koha.git/commit
Bug 7413: (follow-up) add direct unit tests
authorGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 23:05:13 +0000 (23:05 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 23:05:13 +0000 (23:05 +0000)
commit9d9ae48a0c75d6c5dbe65c21ecf250a86cd46ffc
tree5a0ebc9dcc08910dcce1553af40670dd08566afb
parentf4efda5bc58e619e42493ac635cdaab78f53a950
Bug 7413: (follow-up) add direct unit tests

This patch adds a direct unit test of GetSoonestRenewDate()
and verifies that CanBookBeRenewed() returns a 'too_soon'
error as expected.

To test:

[1] Verify that prove -v t/db_dependent/Circulation.t passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Circulation.t