Bug 21962: (RMaint follow-up) Fixed bad rebase.
authorJesse Maseto <jesse@bywatersolution.com>
Wed, 19 Dec 2018 17:46:58 +0000 (17:46 +0000)
committerJesse Maseto <Jesse@bywatersolutions.com>
Wed, 19 Dec 2018 18:18:51 +0000 (13:18 -0500)
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>

t/db_dependent/Search.t

index da5958f..149cfc1 100644 (file)
@@ -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 {