Bug 10761: UT: add unit tests for save_report and delete_report in C4::Reports::Guided
authorKenza Zaki <kenza.zaki@biblibre.com>
Mon, 19 Aug 2013 13:20:59 +0000 (15:20 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 21 Aug 2013 14:35:10 +0000 (14:35 +0000)
commitb559b28fd03a70c37c04b31c8c67755458a01e51
treee37aec0ad4d267642491b7460adeb3667ac5ab38
parent2d6bd4b741ed96ad07a68446258d07af234cdc4f
Bug 10761: UT: add unit tests for save_report and delete_report in C4::Reports::Guided

The test are wrapped in a transaction.

Note : The last test (in comment) currently doesn't pass because it
needs some modifications of delete_report.

To test:
prove t/db_dependent/Reports_Guided.t
t/db_dependent/Reports_Guided.t .. ok
All tests successful.
Files=1, Tests=7,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.28 cusr  0.02 csys =  0.32 CPU)
Result: PASS

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, tested with patch for bug 10761 applied.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Reports_Guided.t