]> git.koha-community.org Git - koha.git/commit
Bug 17633: Do not call set_preference from tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Nov 2016 16:07:35 +0000 (16:07 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 16 Nov 2016 15:31:01 +0000 (15:31 +0000)
commit54bc0272894b292075a8943a368b8a25d4a3dc60
tree223cacbb2af9e3a526bb4d1b02cff9e1edf8e731
parent08f7baf3e3da147b01c3660f789bb7b7cdd707da
Bug 17633: Do not call set_preference from tests

If memcached is running, the pref's value will be set in cache, what we
do not want.

t/db_dependent/Context.t and t/db_dependent/sysprefs.t are exceptions
for obvious reasons.

Test plan:
Make sure all these tests still pass

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/DecreaseLoanHighHolds.t
t/db_dependent/HoldsQueue.t
t/db_dependent/Items.t
t/db_dependent/Template/Plugin/Branches.t