From 8ef4cb8cb346d25f1038e4f768f14da5548c1716 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. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- t/db_dependent/Search.t | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 10c44c9592..261304d0f4 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -193,6 +193,14 @@ $contextmodule->mock('preference', sub { return '0'; } elsif ($pref eq 'OPACPlayMusicalInscripts') { 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.39.2