From a7d941f31dc39b7401ab8d3a1c6841f2e91c6843 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 2 Mar 2022 07:37:47 -1000 Subject: [PATCH] Bug 29857: (follow-up) Fix t/Koha/REST/Plugin/Query.t Signed-off-by: Fridolin Somers --- 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.39.2