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>
This commit is contained in:
parent
eda11a0293
commit
d5e0bf50a1
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue