Browse Source

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>
19.05.x
Jonathan Druart 3 years ago
committed by Nick Clemens
parent
commit
eb7b2907c5
  1. 2
      t/db_dependent/Search.t

2
t/db_dependent/Search.t

@ -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;

Loading…
Cancel
Save