View | Details | Raw Unified | Return to bug 29857
Collapse All | Expand All

(-)a/t/Koha/Plugins/Tab.t (-5 / +4 lines)
Lines 29-37 subtest 'new() tests' => sub { Link Here
29
    'Koha::Exceptions::MissingParameter',
29
    'Koha::Exceptions::MissingParameter',
30
      'Exception is thrown on missing content';
30
      'Exception is thrown on missing content';
31
31
32
    is(
32
    like(
33
        "$@",
33
        "$@",
34
        "Mandatory parameter 'content' missing",
34
        qr/Mandatory parameter 'content' missing/,
35
        'Exception message is correct'
35
        'Exception message is correct'
36
    );
36
    );
37
37
Lines 39-47 subtest 'new() tests' => sub { Link Here
39
    'Koha::Exceptions::MissingParameter',
39
    'Koha::Exceptions::MissingParameter',
40
      'Exception is thrown on missing title';
40
      'Exception is thrown on missing title';
41
41
42
    is(
42
    like(
43
        "$@",
43
        "$@",
44
        "Mandatory parameter 'title' missing",
44
        qr/Mandatory parameter 'title' missing/,
45
        'Exception message is correct'
45
        'Exception message is correct'
46
    );
46
    );
47
47
48
- 

Return to bug 29857