Bug 4397: (follow-up) adjust unit test reflect return of display version of scan...
authorGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 05:26:18 +0000 (05:26 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 05:26:18 +0000 (05:26 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Search.t

index ed3c797..6cf26e9 100644 (file)
@@ -433,15 +433,12 @@ if ( $indexing_mode eq 'dom' ) {
         , "Simple descending publication date sorting in getRecords matches old behavior");
 }
 
-TODO: {
-    local $TODO = "Switch relevance search to MARCXML too";
     ( undef, $results_hashref, $facets_loop ) =
         getRecords('books', 'books', [ 'relevance' ], [ 'biblioserver' ], '20', 0, undef, \%branches, \%itemtypes, undef, 1);
     $record = MARC::Record::new_from_usmarc($results_hashref->{biblioserver}->{RECORDS}->[0]);
-    is($record->title_proper(), 'books', "Scan returned requested item");
+    is($record->title_proper(), 'Books', "Scan returned requested item");
     is($record->subfield('100', 'a'), 2, "Scan returned correct number of records matching term");
     # Time to test buildQuery and searchResults too.
-}
 
     my ( $query, $simple_query, $query_cgi,
     $query_desc, $limit, $limit_cgi, $limit_desc,