Bug 24144: (bug 23836 follow-up) Fix regressions.t tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Dec 2019 16:12:06 +0000 (17:12 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 13 Dec 2019 16:55:46 +0000 (16:55 +0000)
commit4199b04a836ea574b396a628dc144312a4083d31
tree3a2bb68b23f02e68d37524194e015d96583c481c
parent7213f9c4d3f239dd8176a4901551a6b8d9e6918b
Bug 24144: (bug 23836 follow-up) Fix regressions.t tests

Bug 23836 changes the behavior for tracklinks.pl but did not adjust the
tests.

We must then expect 404 if the pref is turned off.
Also mock_preference cannot work (we are hitting the web server and so
need to set the value in DB and flush the L1 caches)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 9cade9186d6234e3ed816e5ab8c32b1060e03341)
t/db_dependent/www/regressions.t