View | Details | Raw Unified | Return to bug 20596
Collapse All | Expand All

(-)a/t/db_dependent/Search.t (-2 / +8 lines)
Lines 751-756 ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' Link Here
751
    );
751
    );
752
    is($count, 1, 'MARC21 authorities: one hit on "all" (entire record) contains "professional wrestler"');
752
    is($count, 1, 'MARC21 authorities: one hit on "all" (entire record) contains "professional wrestler"');
753
753
754
    #NOTE: the 2nd parameter is unused in SearchAuthorities...
755
    ($auths, $count) = SearchAuthorities(
756
        ['Any','Any'], [''], [''], ['contains'],
757
        ['professional wrestler','shakespeare'], 0, 10, '', '', 1
758
    );
759
    is($count, 2, 'MARC21 authorities: multiple values create operands implicitly joined by OR');
760
754
    # retrieve records that are larger than the MARC limit of 99,999 octets
761
    # retrieve records that are larger than the MARC limit of 99,999 octets
755
    ( undef, $results_hashref, $facets_loop ) =
762
    ( undef, $results_hashref, $facets_loop ) =
756
        getRecords('ti:marc the large record', '', [], [ 'biblioserver' ], '20', 0, \%branches, \%itemtypes, 'ccl', undef);
763
        getRecords('ti:marc the large record', '', [], [ 'biblioserver' ], '20', 0, \%branches, \%itemtypes, 'ccl', undef);
Lines 923-929 sub run_unimarc_search_tests { Link Here
923
}
930
}
924
931
925
subtest 'MARC21 + DOM' => sub {
932
subtest 'MARC21 + DOM' => sub {
926
    plan tests => 92;
933
    plan tests => 93;
927
    run_marc21_search_tests();
934
    run_marc21_search_tests();
928
};
935
};
929
936
930
- 

Return to bug 20596