Bug 22581: (RM follow-up) Add sysprefs to Search.t
This patch adds explicit disablement of the sysprefs introduced by this bug to the Search.t test to silence warnings. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
bd9c93da54
commit
3675e9cf78
|
|
@ -186,6 +186,10 @@ $contextmodule->mock('preference', sub {
|
|||
return '0';
|
||||
} elsif ($pref eq 'OpenURLText') {
|
||||
return '0';
|
||||
} elsif ($pref eq 'OPACShowMusicalInscripts') {
|
||||
return '0';
|
||||
} elsif ($pref eq 'OPACPlayMusicalInscripts') {
|
||||
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