diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 756174da65..52051375c7 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -192,6 +192,8 @@ $contextmodule->mock('preference', sub { return '0'; } elsif ($pref eq 'OPACPlayMusicalInscripts') { return '0'; + } elsif ($pref eq 'Reference_NFL_Statuses') { + return '0'; } else { warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" unless $pref =~ m/(XSLT|item|branch|holding|image)/i; diff --git a/t/db_dependent/zebra_config.pl b/t/db_dependent/zebra_config.pl index 6137064a85..8f962def23 100755 --- a/t/db_dependent/zebra_config.pl +++ b/t/db_dependent/zebra_config.pl @@ -36,6 +36,7 @@ make_path("$destination/var/lib/zebradb/authorities/key"); make_path("$destination/var/lib/zebradb/authorities/register"); make_path("$destination/var/lib/zebradb/authorities/shadow"); make_path("$destination/var/lib/zebradb/authorities/tmp"); +make_path("$destination/var/log/koha"); make_path("$destination/var/run/zebradb"); $ENV{'INSTALL_BASE'} = $destination; @@ -48,6 +49,8 @@ $ENV{'__DB_PORT__'} = C4::Context->config('port') // '3306'; $ENV{'__DB_USER__'} = C4::Context->config('user') // 'kohaadmin'; $ENV{'__DB_PASS__'} = C4::Context->config('pass') // 'katikoan'; +$ENV{'__LOG_DIR__'} = "$destination/var/log/koha"; + my @files = ( "$source/etc/koha-conf.xml", "$source/etc/log4perl.conf",