projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a43f9
)
Bug 11334: (follow-up) teach the search tests to mock the DisplayLibraryFacets syspref
author
Galen Charlton
<gmc@esilibrary.com>
Wed, 30 Apr 2014 03:29:46 +0000
(
03:29
+0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Wed, 30 Apr 2014 03:29:46 +0000
(
03:29
+0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Search.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/Search.t
b/t/db_dependent/Search.t
index
856014a
..
ed3c797
100644
(file)
--- a/
t/db_dependent/Search.t
+++ b/
t/db_dependent/Search.t
@@
-115,6
+115,8
@@
$contextmodule->mock('preference', sub {
return '490av';
} elsif ($pref eq 'authoritysep') {
return '--';
+ } elsif ($pref eq 'DisplayLibraryFacets') {
+ return 'holding';
} 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;