Bugzilla – Attachment 151063 Details for
Bug 33719
Search.t: too much noise about ContentWarningField
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33719: Silence warnings on ContentWarningField in Search.t
Bug-33719-Silence-warnings-on-ContentWarningField-.patch (text/plain), 1.01 KB, created by
Marcel de Rooy
on 2023-05-11 09:21:34 UTC
(
hide
)
Description:
Bug 33719: Silence warnings on ContentWarningField in Search.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-05-11 09:21:34 UTC
Size:
1.01 KB
patch
obsolete
>From 0afaa970037709352cf8a0b83d5fffc546827b05 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 11 May 2023 09:19:41 +0000 >Subject: [PATCH] Bug 33719: Silence warnings on ContentWarningField in > Search.t >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run t/db_dependent/Search.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Search.t | 2 ++ > 1 file changed, 2 insertions(+) > >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; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33719
: 151063