Bug 36924: Remove "I don't know what to say" warnings

Those are a pain really

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit a77d74b903)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 78d1f934c2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2024-05-22 14:05:45 +02:00 committed by Lucas Gass
parent a96e7935e5
commit 0b280fa6b8

View file

@ -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;