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 commita77d74b903
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit78d1f934c2
) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
a96e7935e5
commit
0b280fa6b8
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue