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

(-)a/t/lib/Koha/Plugin/BrokenInstall.pm (+14 lines)
Lines 16-21 our $metadata = { Link Here
16
    version         => $VERSION,
16
    version         => $VERSION,
17
};
17
};
18
18
19
=head1 METHODS
20
21
=head2 new
22
23
instantiate the plugin
24
25
=cut
26
19
sub new {
27
sub new {
20
    my ( $class, $args ) = @_;
28
    my ( $class, $args ) = @_;
21
    $args->{'metadata'} = $metadata;
29
    $args->{'metadata'} = $metadata;
Lines 23-28 sub new { Link Here
23
    return $self;
31
    return $self;
24
}
32
}
25
33
34
=head2 install
35
36
install method that dies
37
38
=cut
39
26
sub install {
40
sub install {
27
    die "Why Liz? WHY?";
41
    die "Why Liz? WHY?";
28
}
42
}
(-)a/t/lib/Koha/Plugin/BrokenUpgrade.pm (-1 / +14 lines)
Lines 16-21 our $metadata = { Link Here
16
    version         => $VERSION,
16
    version         => $VERSION,
17
};
17
};
18
18
19
=head1 METHODS
20
21
=head2 new
22
23
Instantiate the plugin
24
25
=cut
26
19
sub new {
27
sub new {
20
    my ( $class, $args ) = @_;
28
    my ( $class, $args ) = @_;
21
    $args->{'metadata'} = $metadata;
29
    $args->{'metadata'} = $metadata;
Lines 23-28 sub new { Link Here
23
    return $self;
31
    return $self;
24
}
32
}
25
33
34
=head2 upgrade
35
36
upgrade method that dies
37
38
=cut
39
26
sub upgrade {
40
sub upgrade {
27
    die "Why Liz? WHY?";
41
    die "Why Liz? WHY?";
28
}
42
}
29
- 

Return to bug 29121