From 95fdeaf1b5c6e96426a8b8dab7e18d7bd773a8bd Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Apr 2022 11:24:48 +0000 Subject: [PATCH] Bug 30531: Add mock of UseRecalls to Search.t Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Search.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 5ebe9117f0d..15d3e800104 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -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; -- 2.34.1