From ce35aca9aad50269a380d4cfc2060daee194ebe6 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 Content-Type: text/plain; charset=utf-8 Those are a pain really Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- 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 4939b846fe..3beed6121c 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.30.2