Bug 9659 - QA Follow up: Unit tests
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 10 Apr 2013 18:50:50 +0000 (15:50 -0300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 26 Apr 2013 12:07:24 +0000 (08:07 -0400)
commit6110375307845778f74d6e5a214d63ab69cc5330
treeebfe93267d816230460934c551010be26c5dd696
parentcdc5e11159c6c3dba8ae371094633feb5e64b57d
Bug 9659 - QA Follow up: Unit tests

Added some tests against the methods added by this patch.

To test, prove -v
- t/Koha.t
- t/ReportsGuided.t

Edit: fixed the amount of tests in the skip block. Tests fail for people having earlier versions of DBD::Mock.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works quite nicely!
All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
t/Koha.t
t/ReportsGuided.t [new file with mode: 0755]