Lines 224-229
sub run_marc21_search_tests {
Link Here
|
224 |
|
224 |
|
225 |
my $indexes = C4::Search::getIndexes(); |
225 |
my $indexes = C4::Search::getIndexes(); |
226 |
is(scalar(grep(/^ti$/, @$indexes)), 1, "Title index supported"); |
226 |
is(scalar(grep(/^ti$/, @$indexes)), 1, "Title index supported"); |
|
|
227 |
is(scalar(grep(/^arl$/, @$indexes)), 1, "Accelerated reading level index supported"); |
228 |
is(scalar(grep(/^arp$/, @$indexes)), 1, "Accelerated reading point index supported"); |
227 |
|
229 |
|
228 |
my $bibliomodule = new Test::MockModule('C4::Biblio'); |
230 |
my $bibliomodule = new Test::MockModule('C4::Biblio'); |
229 |
|
231 |
|
Lines 929-936
sub run_unimarc_search_tests {
Link Here
|
929 |
} |
931 |
} |
930 |
|
932 |
|
931 |
subtest 'MARC21 + DOM' => sub { |
933 |
subtest 'MARC21 + DOM' => sub { |
932 |
plan tests => 108; |
934 |
plan tests => 110; |
933 |
run_marc21_search_tests(); |
935 |
run_marc21_search_tests('dom'); |
934 |
}; |
936 |
}; |
935 |
|
937 |
|
936 |
subtest 'UNIMARC + DOM' => sub { |
938 |
subtest 'UNIMARC + DOM' => sub { |
937 |
- |
|
|