Bug 10692: add unit tests for C4::Circulation routines about transfers
authorKenza Zaki <kenza.zaki@biblibre.com>
Wed, 7 Aug 2013 13:54:01 +0000 (15:54 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 13 Sep 2013 17:38:12 +0000 (14:38 -0300)
commit637721585595de560ddaa48f2f93aef07bf0f65f
tree27c9dd890249d640cb8f5476d3e7401ae136386d
parent328b1bef0f72538105a1463d1398aadce349310e
Bug 10692: add unit tests for C4::Circulation routines about transfers

The tests are wrap in a transaction.

NOTE: Currently, some tests should pass but don't because of incoherences in the code.
These tests are in comments and preceded by FIXME.

To test:
prove t/db_dependent/Circulation_transfers.t
t/db_dependent/Circulation_transfers.t .. ok
All tests successful.
Files=1, Tests=12, 18 wallclock secs ( 0.02 usr  0.01 sys +  0.37 cusr  0.06 csys =  0.46 CPU)
Result: PASS

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a58c5334c96105315ee3bf1cbb62d8c1aab82f0c)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Circulation_transfers.t [new file with mode: 0644]