[Koha-bugs] [Bug 10270] GetOrdersByBiblionumber needs better unit tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 17 12:10:49 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10270
mathieu saby <mathieu.saby at univ-rennes2.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Signed Off
--- Comment #4 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
I made 2 tests :
$prove -v t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
t/db_dependent/Acquisition/GetOrdersByBiblionumber.t ..
ok 1 - GetOrdersByBiblionumber : no argument, return undef
ok 2 - 1 order on biblionumber 1
ok 3 - 2 orders on biblionumber 2
1..3
ok
All tests successful.
Files=1, Tests=3, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.36 cusr 0.03
csys = 0.41 CPU)
Result: PASS
and
$prove -v t/db_dependent/Acquisition.t
t/db_dependent/Acquisition.t ..
1..37
[...]
All tests successful.
Files=1, Tests=37, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.36 cusr 0.04
csys = 0.42 CPU)
Result: PASS
I sign off.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list