From 18ae04a4ac2423372cff81a8e2e3903b13404fc3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 30 Apr 2014 03:29:46 +0000 Subject: [PATCH] Bug 11334: (follow-up) teach the search tests to mock the DisplayLibraryFacets syspref Signed-off-by: Galen Charlton --- 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 856014a421..ed3c79701a 100644 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -115,6 +115,8 @@ $contextmodule->mock('preference', sub { return '490av'; } elsif ($pref eq 'authoritysep') { return '--'; + } elsif ($pref eq 'DisplayLibraryFacets') { + return 'holding'; } 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.39.5