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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 9 Dec 2019 23:53:05 +0000 (23:53 +0000)
commit9cade9186d6234e3ed816e5ab8c32b1060e03341
tree851fe0708e4ebae7458f516f113b5afb9e48f427
parentd81421a129f2c6ed1cd6bf22d982a9796cccdd0e
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>
t/db_dependent/www/regressions.t