|
Lines 159-164
$contextmodule->mock('preference', sub {
Link Here
|
| 159 |
return '0'; |
159 |
return '0'; |
| 160 |
} elsif ( $pref eq 'ContentWarningField' ) { |
160 |
} elsif ( $pref eq 'ContentWarningField' ) { |
| 161 |
return q{}; |
161 |
return q{}; |
|
|
162 |
} elsif ( $pref eq 'AuthorLinkSortBy' ) { |
| 163 |
return q{}; |
| 164 |
} elsif ( $pref eq 'AuthorLinkSortOrder' ) { |
| 165 |
return q{}; |
| 166 |
} elsif ( $pref eq 'COinSinOPACResults' ) { |
| 167 |
return q{}; |
| 162 |
} else { |
168 |
} else { |
| 163 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
169 |
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating" |
| 164 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
170 |
unless $pref =~ m/(XSLT|item|branch|holding|image)/i; |
| 165 |
- |
|
|