Bugzilla – Attachment 133466 Details for
Bug 30531
Search.t needs update for Recalls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30531: Add mock of UseRecalls to Search.t
Bug-30531-Add-mock-of-UseRecalls-to-Searcht.patch (text/plain), 940 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-20 12:44:01 UTC
(
hide
)
Description:
Bug 30531: Add mock of UseRecalls to Search.t
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-20 12:44:01 UTC
Size:
940 bytes
patch
obsolete
>From 95fdeaf1b5c6e96426a8b8dab7e18d7bd773a8bd Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 14 Apr 2022 11:24:48 +0000 >Subject: [PATCH] Bug 30531: Add mock of UseRecalls to Search.t > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 5ebe9117f0d..15d3e800104 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -154,6 +154,8 @@ $contextmodule->mock('preference', sub { > return 'branch'; > } elsif ($pref eq 'SearchLimitLibrary') { > return 'both'; >+ } elsif ($pref eq 'UseRecalls') { >+ return '0'; > } 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 30531
:
133302
| 133466