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:
parent
9980a0f750
commit
007af54b5d
|
|
@ -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' );
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue