Bug 10653: add unit tests for C4::RotatingCollections.pm
authorKenza Zaki <kenza.zaki@biblibre.com>
Tue, 30 Jul 2013 11:43:19 +0000 (13:43 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Sep 2013 17:39:27 +0000 (14:39 -0300)
commiteb0373c7eb6d1f0cb52155709c18e06c09ab55df
treef2a193cbe6f715970aa6d3417bbb3646e4c905bf
parent5fde0910787f9c36caedfc12bc5af6dfedc7df36
Bug 10653: add unit tests for C4::RotatingCollections.pm

The tests are wrap in a database transaction.

Test plan:
prove t/db_dependent/RotatingCollections.t
t/db_dependent/RotatingCollections.t .. ok
All tests successful.
Files=1, Tests=41, 20 wallclock secs ( 0.02 usr  0.01 sys +  0.41 cusr  0.02 csys =  0.46 CPU)
Result: PASS

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 12061f44beb46709e03d09f7ff61551fa9297b2e)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/RotatingCollections.t [new file with mode: 0644]