From 0b280fa6b8bed3678b7ae1c18126a15495274ca0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 22 May 2024 14:05:45 +0200 Subject: [PATCH] Bug 36924: Remove "I don't know what to say" warnings Those are a pain really Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit a77d74b903951af569e73e09c5c9c33f0e6aa818) Signed-off-by: Fridolin Somers (cherry picked from commit 78d1f934c2ad5088bde0bd199c47a2627ad09f8e) Signed-off-by: Lucas Gass --- 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 b3e1c77de6..f2be66b6c1 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -159,6 +159,12 @@ $contextmodule->mock('preference', sub { return '0'; } elsif ( $pref eq 'ContentWarningField' ) { return q{}; + } elsif ( $pref eq 'AuthorLinkSortBy' ) { + return q{}; + } elsif ( $pref eq 'AuthorLinkSortOrder' ) { + return q{}; + } elsif ( $pref eq 'COinSinOPACResults' ) { + return q{}; } 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;