Bug 29857: (follow-up) Fix t/Koha/REST/Plugin/Query.t

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Fridolin Somers 2022-03-02 07:37:47 -10:00
parent bbbb88f035
commit a7d941f31d
1 changed files with 2 additions and 2 deletions

View File

@ -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}
}
);