[Koha-bugs] [Bug 12470] C4::Circulations.pm needs more unit tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 24 14:30:22 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12470
--- Comment #1 from Yohann Dufour <yohann.dufour at biblibre.com> ---
Created attachment 29189
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29189&action=edit
Bug 12470: adding unit tests for the routines CheckValidBarCode and
CheckIfIssuedToPatron of the module C4::Circulation.pm
The routines CheckValidBarcode and CheckIfIssuedToPatron were not tested
Test plan:
1/ Apply the patch
2/ Execute : prove t/db_dependent/Circulation/CheckValidBarcode.t
t/db_dependent/Circulation/CheckIfIssuedToPatron.t
3/ The result of the command has to be a success without error or warning :
t/db_dependent/Circulation/CheckValidBarcode.t ...... ok
t/db_dependent/Circulation/CheckIfIssuedToPatron.t .. ok
All tests successful.
Files=2, Tests=32, 3 wallclock secs ( 0.04 usr 0.01 sys + 2.88 cusr 0.17
csys = 3.10 CPU)
Result: PASS
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list