Bug 21581: (RMaint follow-up) Skip deprecated GRS-1 test for feature

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit bc9408f9ac)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2018-11-09 13:03:17 +00:00 committed by Fridolin Somers
parent 5c2d7fd5c5
commit 46a28ad723
1 changed files with 8 additions and 6 deletions

View File

@ -779,11 +779,13 @@ if ( $indexing_mode eq 'dom' ) {
['沙士北亞威廉姆'], 0, 10, '', '', 1
);
is($count, 1, 'MARC21 authorities: one hit on match contains "沙士北亞威廉姆"');
($auths, $count) = SearchAuthorities(
['LC-card-number'], ['and'], [''], ['contains'],
['99282477'], 0, 10, '', '', 1
);
is($count, 1, 'MARC21 authorities: one hit on LC-card-number contains "99282477"');
if ($indexing_mode eq 'dom') {
($auths, $count) = SearchAuthorities(
['LC-card-number'], ['and'], [''], ['contains'],
['99282477'], 0, 10, '', '', 1
);
is($count, 1, 'MARC21 authorities: one hit on LC-card-number contains "99282477"');
}
$UseQueryParser = 1;
@ -980,7 +982,7 @@ sub run_unimarc_search_tests {
}
subtest 'MARC21 + GRS-1' => sub {
plan tests => 111;
plan tests => 110;
run_marc21_search_tests('grs1');
};