[Koha-bugs] [Bug 14375] DBIx::Connector should be stored in C4::Context instead of dbh

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 10 11:14:51 CEST 2015


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

--- Comment #12 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 41437
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41437&action=edit
Bug 14375 - Use mock on dbh instead of _new_dbh

This patch changes in test modules the mock on database connexion.
Instead of mocking method _new_dbh (removed by main patch), mock directly
method dbh.
Always use t::lib::Mocks::mock_dbh() for that.

To test, just run prove on modified test modules.

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


More information about the Koha-bugs mailing list