From b5560af25ed08bfd3380172acb8670073259d744 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 2 Mar 2022 08:04:00 -1000 Subject: [PATCH] Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t --- t/db_dependent/Koha/Club/Hold.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Club/Hold.t b/t/db_dependent/Koha/Club/Hold.t index 9c88f1049e..d705f1d807 100755 --- a/t/db_dependent/Koha/Club/Hold.t +++ b/t/db_dependent/Koha/Club/Hold.t @@ -56,7 +56,7 @@ subtest 'add' => sub { 'Koha::Exceptions::MissingParameter', 'Exception thrown when biblio_id is passed'; - is( "$@", 'The biblio_id parameter is mandatory' ); + like( "$@", qr/The biblio_id parameter is mandatory/ ); throws_ok { Koha::Club::Hold::add( @@ -68,7 +68,7 @@ subtest 'add' => sub { 'Koha::Exceptions::MissingParameter', 'Exception thrown when club_id is passed'; - is( "$@", 'The club_id parameter is mandatory' ); + like( "$@", qr/The club_id parameter is mandatory/ ); throws_ok { Koha::Club::Hold::add( -- 2.35.1