[Koha-bugs] [Bug 12623] SQLHelper replacement - Koha::Borrower::Modifications

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 23 14:26:12 CEST 2014


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

Yohann Dufour <yohann.dufour at biblibre.com> changed:

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

--- Comment #2 from Yohann Dufour <yohann.dufour at biblibre.com> ---
Created attachment 29980
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29980&action=edit
Bug 12623: SQLHelper replacement - Borrower::Modifications

With this patch, the subroutines AddModification and ApproveModifications uses
DBIx::Class instead of C4::SQLHelper.
Moreover, the tests has been wrapped in a transaction.

Test plan:
1) Apply the patch

2) Execute the unit tests by launching :
prove t/db_dependent/Koha_borrower_modifications.t

3) The result has to be a success without error or warning :
t/db_dependent/Koha_borrower_modifications.t .. ok
All tests successful.
Files=1, Tests=14,  2 wallclock secs ( 0.03 usr  0.01 sys +  1.60 cusr  0.08
csys =  1.72 CPU)
Result: PASS

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


More information about the Koha-bugs mailing list