Bugzilla – Attachment 131242 Details for
Bug 29857
We must stringify our exceptions correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29857: (follow-up) Fix t/db_dependent/Koha/Biblio.t
Bug-29857-follow-up-Fix-tdbdependentKohaBibliot.patch (text/plain), 1.32 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-03-02 12:49:44 UTC
(
hide
)
Description:
Bug 29857: (follow-up) Fix t/db_dependent/Koha/Biblio.t
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-03-02 12:49:44 UTC
Size:
1.32 KB
patch
obsolete
>From e8983f4c983d99bfc49bcf9edd458d09b1cb2987 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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 <tomascohen@theke.io> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29857
:
129329
|
129330
|
130007
|
130008
|
130009
|
130010
|
130011
|
130012
|
130013
|
130014
|
130015
|
130156
|
130157
|
130158
|
130355
|
131112
|
131113
|
131114
|
131115
|
131116
|
131117
|
131232
|
131240
|
131241
| 131242 |
131243
|
131244
|
131256
|
131258
|
131287
|
131288
|
131289
|
131290
|
131291