Bugzilla – Attachment 133302 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), 883 bytes, created by
Nick Clemens (kidclamp)
on 2022-04-14 11:25:14 UTC
(
hide
)
Description:
BUg 30531: Add mock of UseRecalls to Search.t
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-04-14 11:25:14 UTC
Size:
883 bytes
patch
obsolete
>From 77af71bc209a183294b60ff3c366b307a112c560 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 > >--- > 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 5ebe9117f0..15d3e80010 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.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 30531
:
133302
|
133466