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

(-)a/t/db_dependent/Search.t (-3 / +7 lines)
Lines 619-624 if ( $indexing_mode eq 'dom' ) { Link Here
619
    is( $query, "an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )", 'buildQuery should add the available part to the query if requested with ccl' );
619
    is( $query, "an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )", 'buildQuery should add the available part to the query if requested with ccl' );
620
    is( $query_desc, 'an:42', 'buildQuery should remove the available part from the query' );
620
    is( $query_desc, 'an:42', 'buildQuery should remove the available part from the query' );
621
621
622
    ( $error, $query, $simple_query, $query_cgi,
623
    $query_desc, $limit, $limit_cgi, $limit_desc,
624
    $query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en');
625
    is($query, 'su,phr=0 ', 'buildQuery should keep 0 value');
626
622
    # Let's see what happens when we pass bad data into these routines.
627
    # Let's see what happens when we pass bad data into these routines.
623
    # We have to catch warnings since we're not very good about returning errors.
628
    # We have to catch warnings since we're not very good about returning errors.
624
629
Lines 970-981 sub run_unimarc_search_tests { Link Here
970
}
975
}
971
976
972
subtest 'MARC21 + GRS-1' => sub {
977
subtest 'MARC21 + GRS-1' => sub {
973
    plan tests => 109;
978
    plan tests => 110;
974
    run_marc21_search_tests('grs1');
979
    run_marc21_search_tests('grs1');
975
};
980
};
976
981
977
subtest 'MARC21 + DOM' => sub {
982
subtest 'MARC21 + DOM' => sub {
978
    plan tests => 109;
983
    plan tests => 110;
979
    run_marc21_search_tests('dom');
984
    run_marc21_search_tests('dom');
980
};
985
};
981
986
982
- 

Return to bug 19873