[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
Mon Aug 5 10:36:15 CEST 2013


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

kenza <kenza.zaki at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19986|0                           |1
        is obsolete|                            |

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