Bugzilla – Attachment 167028 Details for
Bug 36924
t/db_dependent/Search.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36924: Remove "I don't know what to say" warnings
Bug-36924-Remove-I-dont-know-what-to-say-warnings.patch (text/plain), 1.06 KB, created by
Jonathan Druart
on 2024-05-22 12:52:44 UTC
(
hide
)
Description:
Bug 36924: Remove "I don't know what to say" warnings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-05-22 12:52:44 UTC
Size:
1.06 KB
patch
obsolete
>From 4a917fbbb552168cc0ddc0d51053b9c327e96d4e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 May 2024 14:05:45 +0200 >Subject: [PATCH] Bug 36924: Remove "I don't know what to say" warnings > >Those are a pain really >--- > 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 4939b846fed..3beed6121ce 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.34.1
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 36924
:
167028
|
167040
|
167041
|
167064
|
167067
|
167068
|
167070
|
167071