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:
parent
86b853c7c6
commit
279c63ad98
1 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue