[Koha-bugs] [Bug 10683] CRUD routines in C4::Circulation need unit tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 19 16:29:56 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10683
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #21243|0 |1
is obsolete| |
--- Comment #5 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 21244
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21244&action=edit
Bug 10683: Followup CRUD routines in C4::Circulation need unit tests
The borrowers table needs to be cleared after the items table
(last_returned_by column).
Some checks were missing for GetRenewCount and AddRenewal.
Now the tests simulated a renewal for a item and check that the renews
left is decremented.
Moreover the issuingrules tables should be cleared and filled with known
values.
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list