]> git.koha-community.org Git - koha.git/commit
Bug 13274: Mock new_dbh in t::lib::Mocks
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 18 Nov 2014 09:45:02 +0000 (10:45 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 19 Nov 2014 12:50:32 +0000 (09:50 -0300)
commit428a744843e82da676bb32bb8828061b4fc2a383
treed3adf8b3a33abfec574b7725bfdc16c4a0463f9f
parent340e23ece5afd6c8fa944140687e2c0fdc7ff634
Bug 13274: Mock new_dbh in t::lib::Mocks

This patch suggests to create a routine to mock C4::Context::_new_dbh.

NOTE: Works the same with and without this secondary patch.
      koha-qa tests fine. Less cutting and pasting in the future.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/00-load.t
t/lib/Mocks.pm