[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 6 06:01:10 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5327
--- Comment #182 from Mason James <mtj at kohaaloha.com> ---
(In reply to comment #175)
> Created attachment 10616 [details]
> bug 5327: added some tests for C4/Items.pm
>
> Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Passing QA on this patch, all test pass OK
$ prove -v t/db_dependent/Items.t
1..7
ok 1 - use C4::Items;
# Creating biblio instance for testing.
ok 2 - New item is linked to correct biblionumber.
ok 3 - New item is linked to correct biblioitemnumber.
ok 4 - Retrieved item has correct itemnumber.
ok 5 - Retrieved item has correct biblioitemnumber.
ok 6 - Modified item barcode successfully to: 987654321.
ok 7 - Item deleted as expected.
# Deleting biblio testing instance.
ok
All tests successful.
Files=1, Tests=7, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.48 cusr 0.05
csys = 0.56 CPU)
Result: PASS
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list