Bug 28572: Set missing __LOG_DIR__ variable in zebra_config.pl
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Jun 2021 19:14:16 +0000 (16:14 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Jun 2021 07:56:18 +0000 (09:56 +0200)
commitc2fb056d7dc3e7add53418ff1efaa04ad852771d
tree638bf27a110d02fc1dbe6c5a868e894bf93184e9
parent3d1a92b6e1cc8be181b25ad5ac6b75786031fac0
Bug 28572: Set missing __LOG_DIR__ variable in zebra_config.pl

This patch makes zebra_config.pl create a temporary directory for logs
and sets it in ENV so, when called, rewrite-config.PL sets it correctly.

It also adds the new syspref Reference_NFL_Statuses to the big mock to
silence many warnings introduced by bug 21260.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Search.t
t/db_dependent/zebra_config.pl