Bug 13088: (RM followup) add missing pref mock
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 15:07:46 +0000 (12:07 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 15:07:46 +0000 (12:07 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Search.t

index a10b71b..b96cc19 100644 (file)
@@ -121,6 +121,8 @@ $contextmodule->mock('preference', sub {
         return 20;
     } elsif ($pref eq 'FacetLabelTruncationLength') {
         return 20;
+    } elsif ($pref eq 'FacetMaxCount') {
+        return 20;
     } elsif ($pref eq 'OpacHiddenItems') {
         return '';
     } elsif ($pref eq 'AlternateHoldingsField') {