|
Lines 194-199
$contextmodule->mock('preference', sub {
Link Here
|
| 194 |
return '0'; |
194 |
return '0'; |
| 195 |
} elsif ($pref eq 'Reference_NFL_Statuses') { |
195 |
} elsif ($pref eq 'Reference_NFL_Statuses') { |
| 196 |
return '0'; |
196 |
return '0'; |
|
|
197 |
} elsif ($pref eq 'FacetOrder') { |
| 198 |
return 'Alphabetical'; |
| 199 |
} elsif ($pref eq 'OPACResultsUnavailableGroupingBy') { |
| 200 |
return 'branch'; |
| 201 |
} elsif ($pref eq 'SearchLimitLibrary') { |
| 202 |
return 'both'; |
| 197 |
} else { |
203 |
} else { |
| 198 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
204 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
| 199 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
205 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
| 200 |
- |
|
|