[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 09:52:26 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10653

--- Comment #1 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 19985
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19985&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.pm
t/db_dependent/RotatingCollections.pm .. 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.pm .. 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