diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index c302ec031b..988947a571 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -157,6 +157,8 @@ $contextmodule->mock('preference', sub { return 'both'; } elsif ($pref eq 'UseRecalls') { return '0'; + } elsif ( $pref eq 'ContentWarningField' ) { + 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;