[Koha-bugs] [Bug 10528] UT: C4::Bookseller.pm needs unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 26 00:50:47 CEST 2013


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19874|0                           |1
        is obsolete|                            |

--- Comment #20 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 19953
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19953&action=edit
[SIGNED-OFF] C4::Bookseller.pm need unit tests

The tests are wrap 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 at catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list