From e8983f4c983d99bfc49bcf9edd458d09b1cb2987 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 2 Mar 2022 09:49:25 -0300 Subject: [PATCH] Bug 29857: (follow-up) Fix t/db_dependent/Koha/Biblio.t Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/Biblio.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t index c54ec65fc1..7ba67b28e4 100755 --- a/t/db_dependent/Koha/Biblio.t +++ b/t/db_dependent/Koha/Biblio.t @@ -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" } ] ); -- 2.35.1