Bug 29857: (follow-up) Fix t/Koha/Plugins/Tab.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Tomás Cohen Arazi 2022-03-02 09:31:47 -03:00 committed by Fridolin Somers
parent 86b853c7c6
commit 279c63ad98

View file

@ -29,9 +29,9 @@ subtest 'new() tests' => sub {
'Koha::Exceptions::MissingParameter',
'Exception is thrown on missing content';
is(
like(
"$@",
"Mandatory parameter 'content' missing",
qr/Mandatory parameter 'content' missing/,
'Exception message is correct'
);
@ -39,9 +39,9 @@ subtest 'new() tests' => sub {
'Koha::Exceptions::MissingParameter',
'Exception is thrown on missing title';
is(
like(
"$@",
"Mandatory parameter 'title' missing",
qr/Mandatory parameter 'title' missing/,
'Exception message is correct'
);