Bugzilla – Attachment 126823 Details for
Bug 29315
Remove warnings from Search.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29315: Remove warnings from Search.t
Bug-29315-Remove-warnings-from-Searcht.patch (text/plain), 1.51 KB, created by
Jonathan Druart
on 2021-10-25 12:38:29 UTC
(
hide
)
Description:
Bug 29315: Remove warnings from Search.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-25 12:38:29 UTC
Size:
1.51 KB
patch
obsolete
>From 03ffb3458fdea819e61cdf79057baf8261d5c0c9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Oct 2021 14:37:54 +0200 >Subject: [PATCH] Bug 29315: Remove warnings from Search.t > >The syspref SearchLimitLibrary was requested but I don't know what to >say; this indicates that the test requires updating at >t/db_dependent/Search.t line 198. >The syspref FacetOrder was requested but I don't know what to say; this >indicates that the test requires updating at t/db_dependent/Search.t >line 198. >The syspref OPACResultsUnavailableGroupingBy was requested but I don't >know what to say; this indicates that the test requires updating at >t/db_dependent/Search.t line 198. >--- > 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 8efe5dff865..29f89270497 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -194,6 +194,12 @@ $contextmodule->mock('preference', sub { > return '0'; > } elsif ($pref eq 'Reference_NFL_Statuses') { > return '0'; >+ } elsif ($pref eq 'FacetOrder') { >+ return 'Alphabetical'; >+ } elsif ($pref eq 'OPACResultsUnavailableGroupingBy') { >+ return 'branch'; >+ } elsif ($pref eq 'SearchLimitLibrary') { >+ return 'both'; > } 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.25.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 29315
: 126823