Bugzilla – Attachment 64117 Details for
Bug 18762
Some tests are noisy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18762: Remove some warnings from Search.t
Bug-18762-Remove-some-warnings-from-Searcht.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2017-06-08 19:20:11 UTC
(
hide
)
Description:
Bug 18762: Remove some warnings from Search.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-08 19:20:11 UTC
Size:
1.12 KB
patch
obsolete
>From ac629cf1374200799e827e40aff19e5f4a7aa80d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jun 2017 16:11:45 -0300 >Subject: [PATCH] Bug 18762: Remove some warnings from Search.t > >Note that some are caused by CGI, see bug 18633 > >Test plan: >Confirm there are less warnings with this patch applied >--- > t/db_dependent/Search.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 240c3d432b..c8cbc48171 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -136,6 +136,10 @@ $contextmodule->mock('preference', sub { > return 'holding'; > } elsif ($pref eq 'UNIMARCAuthorsFacetsSeparator') { > return '--'; >+ } elsif ($pref eq 'casAuthentication' or $pref eq 'casLogout' or $pref eq 'casServerUrl' ) { >+ return ''; >+ } elsif ($pref eq 'template') { >+ return ''; > } 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.11.0
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 18762
:
64114
|
64115
|
64116
|
64117
|
64170
|
64175
|
64232
|
64234
|
64294
|
64295
|
64296