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

(-)a/t/db_dependent/Koha/Biblio.t (-3 / +2 lines)
Lines 544-550 subtest 'get_marc_components() tests' => sub { Link Here
544
        sub { Koha::Exception->throw("error searching analytics") }
544
        sub { Koha::Exception->throw("error searching analytics") }
545
    );
545
    );
546
    warning_like { $components = $host_biblio->get_marc_components }
546
    warning_like { $components = $host_biblio->get_marc_components }
547
        qr{^Warning from simple_search_compat: 'error searching analytics'};
547
        qr{Warning from simple_search_compat: .* 'error searching analytics'};
548
548
549
    is_deeply(
549
    is_deeply(
550
        $host_biblio->object_messages,
550
        $host_biblio->object_messages,
Lines 552-558 subtest 'get_marc_components() tests' => sub { Link Here
552
            {
552
            {
553
                type    => 'error',
553
                type    => 'error',
554
                message => 'component_search',
554
                message => 'component_search',
555
                payload => "error searching analytics"
555
                payload => "Exception 'Koha::Exception' thrown 'error searching analytics'\n"
556
            }
556
            }
557
        ]
557
        ]
558
    );
558
    );
559
- 

Return to bug 29857