|
Lines 136-141
$contextmodule->mock('preference', sub {
Link Here
|
| 136 |
return 'holding'; |
136 |
return 'holding'; |
| 137 |
} elsif ($pref eq 'UNIMARCAuthorsFacetsSeparator') { |
137 |
} elsif ($pref eq 'UNIMARCAuthorsFacetsSeparator') { |
| 138 |
return '--'; |
138 |
return '--'; |
|
|
139 |
} elsif ($pref eq 'casAuthentication' or $pref eq 'casLogout' or $pref eq 'casServerUrl' ) { |
| 140 |
return ''; |
| 141 |
} elsif ($pref eq 'template') { |
| 142 |
return ''; |
| 139 |
} else { |
143 |
} else { |
| 140 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
144 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
| 141 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
145 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
| 142 |
- |
|
|