[Koha-bugs] [Bug 10630] DelBookseller's return value needs to be more explicit in C4::Bookseller.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 24 15:42:40 CEST 2013


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

--- Comment #1 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 19927
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19927&action=edit
Bug 10630: DelBookseller's always returns undef in C4::Bookseller.pm

This patch makes DelBookseller returns the number of supplier it has deleted
or undef if nothing has been deleted.
It also adds some regression tests.

To test:
prove t/db_dependent/Bookseller.t
t/db_dependent/Bookseller.t .. ok
All tests successful.
Files=1, Tests=7,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.40 cusr  0.03
csys =  0.45 CPU)
Result: PASS

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


More information about the Koha-bugs mailing list