diff --git a/t/lib/Koha/Plugin/BrokenInstall.pm b/t/lib/Koha/Plugin/BrokenInstall.pm index f55df4ab20..86146ba2df 100644 --- a/t/lib/Koha/Plugin/BrokenInstall.pm +++ b/t/lib/Koha/Plugin/BrokenInstall.pm @@ -16,6 +16,14 @@ our $metadata = { version => $VERSION, }; +=head1 METHODS + +=head2 new + +instantiate the plugin + +=cut + sub new { my ( $class, $args ) = @_; $args->{'metadata'} = $metadata; @@ -23,6 +31,12 @@ sub new { return $self; } +=head2 install + +install method that dies + +=cut + sub install { die "Why Liz? WHY?"; } diff --git a/t/lib/Koha/Plugin/BrokenUpgrade.pm b/t/lib/Koha/Plugin/BrokenUpgrade.pm index 7ecde3ead8..bdf5f04018 100644 --- a/t/lib/Koha/Plugin/BrokenUpgrade.pm +++ b/t/lib/Koha/Plugin/BrokenUpgrade.pm @@ -16,6 +16,14 @@ our $metadata = { version => $VERSION, }; +=head1 METHODS + +=head2 new + +Instantiate the plugin + +=cut + sub new { my ( $class, $args ) = @_; $args->{'metadata'} = $metadata; @@ -23,6 +31,12 @@ sub new { return $self; } +=head2 upgrade + +upgrade method that dies + +=cut + sub upgrade { die "Why Liz? WHY?"; }