From 03ffb3458fdea819e61cdf79057baf8261d5c0c9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 25 Oct 2021 14:37:54 +0200 Subject: [PATCH] Bug 29315: Remove warnings from Search.t The syspref SearchLimitLibrary was requested but I don't know what to say; this indicates that the test requires updating at t/db_dependent/Search.t line 198. The syspref FacetOrder was requested but I don't know what to say; this indicates that the test requires updating at t/db_dependent/Search.t line 198. The syspref OPACResultsUnavailableGroupingBy was requested but I don't know what to say; this indicates that the test requires updating at t/db_dependent/Search.t line 198. --- t/db_dependent/Search.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 8efe5dff865..29f89270497 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -194,6 +194,12 @@ $contextmodule->mock('preference', sub { return '0'; } elsif ($pref eq 'Reference_NFL_Statuses') { return '0'; + } elsif ($pref eq 'FacetOrder') { + return 'Alphabetical'; + } elsif ($pref eq 'OPACResultsUnavailableGroupingBy') { + return 'branch'; + } elsif ($pref eq 'SearchLimitLibrary') { + return 'both'; } 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.25.1