]> git.koha-community.org Git - koha.git/commit
Bug 10528: add unit tests for C4::Bookseller.pm
authorKenza Zaki <kenza.zaki@biblibre.com>
Tue, 23 Jul 2013 14:46:38 +0000 (16:46 +0200)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 11 Oct 2013 18:40:38 +0000 (15:40 -0300)
commite02ee046bfc78566a1f048a414fbc6bc4babddee
treea0f08c58175e2740f2a84b1f7b0a410819b14ac0
parentc2b86366e342fef07f2e2b3212800888803f5378
Bug 10528: add unit tests for C4::Bookseller.pm

The tests are wrapped in a transaction.

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

Test plan:
prove t/db_dependent/Bookseller.t
t/db_dependent/Bookseller.t .. 15/53
[Some warnings about uninitialised values]
t/db_dependent/Bookseller.t .. ok
All tests successful.
Files=1, Tests=53,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.46 cusr  0.03 csys =  0.51 CPU)
Result: PASS

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

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
The new tests pass nicely, as do all old tests and the QA script.
All patches marked as dependencies have been pushed to master
already.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit dc7b5b10e737cc34452dfc6c061cd7c893f08983)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e647d4e3ed887510db6bf7754bbd37c0401c3999)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit e647d4e3ed887510db6bf7754bbd37c0401c3999)
t/db_dependent/Bookseller.t [new file with mode: 0644]