Bugzilla – Attachment 131287 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/Koha/REST/Plugin/Query.t
Bug-29857-follow-up-Fix-tKohaRESTPluginQueryt.patch (text/plain), 1.22 KB, created by
Fridolin Somers
on 2022-03-02 18:09:10 UTC
(
hide
)
Description:
Bug 29857: (follow-up) Fix t/Koha/REST/Plugin/Query.t
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-03-02 18:09:10 UTC
Size:
1.22 KB
patch
obsolete
>From e93de8268eb0bfb2fc94d6ac9d204fce07a38601 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 2 Mar 2022 07:37:47 -1000 >Subject: [PATCH] Bug 29857: (follow-up) Fix t/Koha/REST/Plugin/Query.t > >--- > t/Koha/REST/Plugin/Query.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/Koha/REST/Plugin/Query.t b/t/Koha/REST/Plugin/Query.t >index c52914a7bf..13103f3a29 100755 >--- a/t/Koha/REST/Plugin/Query.t >+++ b/t/Koha/REST/Plugin/Query.t >@@ -486,7 +486,7 @@ subtest 'stash_embed() tests' => sub { > ->status_is(400) > ->json_is( > { >- error => 'Embeding patron is not authorised. Check your x-koha-embed headers or remove it.' >+ error => qq{Exception 'Koha::Exceptions::BadParameter' thrown 'Embeding patron is not authorised. Check your x-koha-embed headers or remove it.'\n} > } > ); > >@@ -494,7 +494,7 @@ subtest 'stash_embed() tests' => sub { > ->status_is(400) > ->json_is( > { >- error => 'Embedding objects is not allowed on this endpoint.' >+ error => qq{Exception 'Koha::Exceptions::BadParameter' thrown 'Embedding objects is not allowed on this endpoint.'\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