Bug 22416: (bug 22140 follow-up) Remove warnings in Search.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2019-03-05 14:29:58 -03:00 committed by Nick Clemens
parent a0e10d9722
commit eb7b2907c5
1 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,8 @@ $contextmodule->mock('preference', sub {
return '0';
} elsif ($pref eq 'viewISBD') {
return '1';
} elsif ($pref eq 'EasyAnalyticalRecords') {
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;