Bug 30531: Add mock of UseRecalls to Search.t
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
f69e3b364f
commit
ec12e59bde
|
|
@ -154,6 +154,8 @@ $contextmodule->mock('preference', sub {
|
|||
return 'branch';
|
||||
} elsif ($pref eq 'SearchLimitLibrary') {
|
||||
return 'both';
|
||||
} elsif ($pref eq 'UseRecalls') {
|
||||
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