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

(-)a/t/db_dependent/Koha/Z3950Responder/GenericSession.t (-3 / +1 lines)
Lines 20-26 our $child; Link Here
20
20
21
subtest 'test_search' => sub {
21
subtest 'test_search' => sub {
22
22
23
    plan tests => 20;
23
    plan tests => 19;
24
24
25
    t::lib::Mocks::mock_preference('SearchEngine', 'Elasticsearch');
25
    t::lib::Mocks::mock_preference('SearchEngine', 'Elasticsearch');
26
26
Lines 114-121 subtest 'test_search' => sub { Link Here
114
    ok($returned2, 'Record 2 returned as MARCXML');
114
    ok($returned2, 'Record 2 returned as MARCXML');
115
    is($returned2->as_xml, $marc_record_2->as_xml, 'Record 2 returned properly');
115
    is($returned2->as_xml, $marc_record_2->as_xml, 'Record 2 returned properly');
116
116
117
    is($rs->record(2), undef, 'Record 3 does not exist');
118
119
    # SRU protocol tests
117
    # SRU protocol tests
120
    my $base = 'http://localhost:42111';
118
    my $base = 'http://localhost:42111';
121
    my $ns = 'http://docs.oasis-open.org/ns/search-ws/sruResponse';
119
    my $ns = 'http://docs.oasis-open.org/ns/search-ws/sruResponse';
(-)a/t/db_dependent/Koha/Z3950Responder/ZebraSession.t (-4 / +1 lines)
Lines 18-24 our $child; Link Here
18
18
19
subtest 'test_search' => sub {
19
subtest 'test_search' => sub {
20
20
21
    plan tests => 9;
21
    plan tests => 8;
22
22
23
    t::lib::Mocks::mock_preference('SearchEngine', 'Zebra');
23
    t::lib::Mocks::mock_preference('SearchEngine', 'Zebra');
24
24
Lines 114-121 subtest 'test_search' => sub { Link Here
114
    ok ($returned2, 'Record 2 returned as MARCXML');
114
    ok ($returned2, 'Record 2 returned as MARCXML');
115
    is($returned2->as_xml, $marc_record_2->as_xml, 'Record 2 returned properly');
115
    is($returned2->as_xml, $marc_record_2->as_xml, 'Record 2 returned properly');
116
116
117
    is($rs->record(2), undef, 'Record 3 does not exist');
118
119
    cleanup();
117
    cleanup();
120
};
118
};
121
119
122
- 

Return to bug 13937