]> git.koha-community.org Git - koha.git/commit
Bug 14778: Mocks Koha::Database->_new_schema instead of C4::Context->_new_dbh
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Oct 2015 11:03:54 +0000 (12:03 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Oct 2015 15:01:18 +0000 (12:01 -0300)
commit9f0e2c59b8b054513fe4aef871ff8a9433421c96
tree36fe6d26b9ad30bb66f4be92c2d101ab56764d39
parent0adbf36ab1d1d9238b80324b8e12cc99a1d72cf2
Bug 14778: Mocks Koha::Database->_new_schema instead of C4::Context->_new_dbh

C4::Context::_new_dbh does not exist anymore.
Koha::Database::_new_schema should be mocked instead.

Will fix:
- t/00-load.t
- t/Breeding.t
- t/ImportBatch.t
- t/Message.t
- t/Overdues.t
- t/Prices.t
- t/RotatingCollections.t
- t/Search.t
- t/SuggestionEngine_AuthorityFile.t
- t/XSLT.t

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/lib/Mocks.pm