From b60fa7296b4c54ed30b568cb429a557933c876de Mon Sep 17 00:00:00 2001 From: Jesse Maseto Date: Wed, 19 Dec 2018 17:46:58 +0000 Subject: [PATCH] Bug 21962: (RMaint follow-up) Fixed bad rebase. Signed-off-by: Jesse Maseto --- t/db_dependent/Search.t | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index da5958f8a1..149cfc1dd6 100644 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -785,18 +785,12 @@ if ( $indexing_mode eq 'dom' ) { ['99282477'], 0, 10, '', '', 1 ); is($count, 1, 'MARC21 authorities: one hit on LC-card-number contains "99282477"'); + ($auths, $count) = SearchAuthorities( + ['all'], ['and'], [''], ['contains'], + ['professional wrestler'], 0, 10, '', '', 1 + ); + is($count, 1, 'MARC21 authorities: one hit on "all" (entire record) contains "professional wrestler"'); } - ($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"'); - ($auths, $count) = SearchAuthorities( - ['all'], ['and'], [''], ['contains'], - ['professional wrestler'], 0, 10, '', '', 1 - ); - is($count, 1, 'MARC21 authorities: one hit on "all" (entire record) contains "professional wrestler"'); - $UseQueryParser = 1; ($auths, $count) = SearchAuthorities( @@ -997,15 +991,13 @@ subtest 'MARC21 + GRS-1' => sub { }; subtest 'MARC21 + DOM' => sub { - plan tests => 111; + plan tests => 112; run_marc21_search_tests('dom'); }; subtest 'UNIMARC + GRS-1' => sub { plan tests => 14; run_unimarc_search_tests('grs1'); - plan tests => 112; - run_marc21_search_tests(); }; subtest 'UNIMARC + DOM' => sub { -- 2.39.2