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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Dec 2019 17:13:27 +0000 (17:13 +0000)
commit1a78447367d9fb23f17f64ed405bfad9c333e190
tree3aca0a07d53dbe1c15f189e29b94d8ad4b9711de
parent1548f0300ffbfaade13d276fc904475d0fa54222
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>
t/db_dependent/www/regressions.t