Bug 29857: (follow-up) Fix t/Koha/Object/Message.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Tomas Cohen Arazi 2022-03-02 09:52:20 -03:00 committed by Fridolin Somers
parent 9980a0f750
commit 007af54b5d
1 changed files with 1 additions and 1 deletions

View File

@ -52,5 +52,5 @@ subtest 'new() tests' => sub {
'Koha::Exceptions::MissingParameter',
'Exception thrown if required parameter missing';
is( "$@", "Mandatory parameter missing: 'message'", 'Expected exception message' );
like( "$@", qr/Mandatory parameter missing: 'message'/, 'Expected exception message' );
};