[Koha-bugs] [Bug 10653] UT : C4::RotatingCollections.pm needs unit tests.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 30 13:45:43 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10653
kenza <kenza.zaki at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19985|0 |1
is obsolete| |
--- Comment #2 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 19986
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19986&action=edit
Bug 10653: C4::RotatingCollections.pm needs unit tests
The tests are wrap in a database transaction.
Test plan:
prove t/db_dependent/RotatingCollections.t
t/db_dependent/RotatingCollections.t .. 1/41 attempting to use non-existent
class sorting routine
Use of uninitialized value $cn_class in concatenation (.) or string at
C4/ClassSortRoutine.pm line 118.
Use of uninitialized value $cn_item in concatenation (.) or string at
C4/ClassSortRoutine.pm line 118.
Use of uninitialized value $cn_class in concatenation (.) or string at
C4/ClassSortRoutine.pm line 118.
Use of uninitialized value $cn_item in concatenation (.) or string at
C4/ClassSortRoutine.pm line 118.
t/db_dependent/RotatingCollections.t .. ok
All tests successful.
Files=1, Tests=41, 2 wallclock secs ( 0.04 usr 0.02 sys + 0.99 cusr 0.08
csys = 1.13 CPU)
Result: PASS
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list