Lines 230-235
sub run_marc21_search_tests {
Link Here
|
230 |
|
230 |
|
231 |
my $indexes = C4::Search::getIndexes(); |
231 |
my $indexes = C4::Search::getIndexes(); |
232 |
is(scalar(grep(/^ti$/, @$indexes)), 1, "Title index supported"); |
232 |
is(scalar(grep(/^ti$/, @$indexes)), 1, "Title index supported"); |
|
|
233 |
is(scalar(grep(/^arl$/, @$indexes)), 1, "Accelerated reading level index supported"); |
234 |
is(scalar(grep(/^arp$/, @$indexes)), 1, "Accelerated reading point index supported"); |
233 |
|
235 |
|
234 |
my $bibliomodule = new Test::MockModule('C4::Biblio'); |
236 |
my $bibliomodule = new Test::MockModule('C4::Biblio'); |
235 |
|
237 |
|
Lines 966-977
sub run_unimarc_search_tests {
Link Here
|
966 |
} |
968 |
} |
967 |
|
969 |
|
968 |
subtest 'MARC21 + GRS-1' => sub { |
970 |
subtest 'MARC21 + GRS-1' => sub { |
969 |
plan tests => 109; |
971 |
plan tests => 111; |
970 |
run_marc21_search_tests('grs1'); |
972 |
run_marc21_search_tests('grs1'); |
971 |
}; |
973 |
}; |
972 |
|
974 |
|
973 |
subtest 'MARC21 + DOM' => sub { |
975 |
subtest 'MARC21 + DOM' => sub { |
974 |
plan tests => 109; |
976 |
plan tests => 111; |
975 |
run_marc21_search_tests('dom'); |
977 |
run_marc21_search_tests('dom'); |
976 |
}; |
978 |
}; |
977 |
|
979 |
|
978 |
- |
|
|