Bug 29857: (follow-up) Fix t/db_dependent/Koha/Biblio.t
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
279c63ad98
commit
9980a0f750
|
|
@ -544,7 +544,7 @@ subtest 'get_marc_components() tests' => sub {
|
|||
sub { Koha::Exception->throw("error searching analytics") }
|
||||
);
|
||||
warning_like { $components = $host_biblio->get_marc_components }
|
||||
qr{^Warning from simple_search_compat: 'error searching analytics'};
|
||||
qr{Warning from simple_search_compat: .* 'error searching analytics'};
|
||||
|
||||
is_deeply(
|
||||
$host_biblio->object_messages,
|
||||
|
|
@ -552,7 +552,7 @@ subtest 'get_marc_components() tests' => sub {
|
|||
{
|
||||
type => 'error',
|
||||
message => 'component_search',
|
||||
payload => "error searching analytics"
|
||||
payload => "Exception 'Koha::Exception' thrown 'error searching analytics'\n"
|
||||
}
|
||||
]
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue