Bug 11998: Use t::lib::Mocks::mock_preference in tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Mar 2016 13:14:59 +0000 (13:14 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 23 Mar 2016 06:51:29 +0000 (07:51 +0100)
commite6b03cf3a0fe369a41a2d3f3b7460c84d299d4f0
tree16bd7fc3dbfb25fc23d7ccc29a939a65ef8cdecb
parentc65c69a4cb3a3aae2097bcaff5f406349d0415a8
Bug 11998: Use t::lib::Mocks::mock_preference in tests

Unless in t/db_dependent/Context.t where we want to test the cache
behaviors.

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 56a782c666d1d05215e49101e33fce0a3cd30377)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
25 files changed:
C4/Context.pm
t/db_dependent/Amazon.t
t/db_dependent/Auth.t
t/db_dependent/Auth_with_cas.t
t/db_dependent/Bookseller.t
t/db_dependent/Circulation.t
t/db_dependent/Circulation/GetTopIssues.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation_Branch.t
t/db_dependent/Circulation_issue.t
t/db_dependent/Hold.t
t/db_dependent/Holds.t
t/db_dependent/HoldsQueue.t
t/db_dependent/Items.t
t/db_dependent/Koha_template_plugin_KohaDates.t
t/db_dependent/Languages.t
t/db_dependent/Letters.t
t/db_dependent/Members.t
t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t
t/db_dependent/QueryParser.t
t/db_dependent/Record.t
t/db_dependent/Reserves.t
t/db_dependent/Suggestions.t
t/db_dependent/XISBN.t
t/db_dependent/default_search_class.pl