Bug 18762: Remove some warnings from Search.t
Note that some are caused by CGI, see bug 18632
Test plan:
Confirm there are less warnings with this patch applied
Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
(cherry picked from commit 6d78d7a610)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
5c0e28d092
commit
f7bcec6464
|
|
@ -136,6 +136,10 @@ $contextmodule->mock('preference', sub {
|
|||
return 'holding';
|
||||
} elsif ($pref eq 'UNIMARCAuthorsFacetsSeparator') {
|
||||
return '--';
|
||||
} elsif ($pref eq 'casAuthentication' or $pref eq 'casLogout' or $pref eq 'casServerUrl' ) {
|
||||
return '';
|
||||
} elsif ($pref eq 'template') {
|
||||
return '';
|
||||
} 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