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:
parent
a0e10d9722
commit
eb7b2907c5
|
|
@ -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…
Reference in New Issue