From 4a917fbbb552168cc0ddc0d51053b9c327e96d4e 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 --- 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 4939b846fed..3beed6121ce 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; -- 2.34.1