Lines 259-264
subtest 'Koha::Plugin::Test' => sub {
Link Here
|
259 |
ok( can_load( modules => { "Koha::Plugin::Test" => undef } ), 'Test can_load' ); |
259 |
ok( can_load( modules => { "Koha::Plugin::Test" => undef } ), 'Test can_load' ); |
260 |
|
260 |
|
261 |
my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); |
261 |
my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); |
|
|
262 |
my $biblionumber = 1; |
262 |
|
263 |
|
263 |
isa_ok( $plugin, "Koha::Plugin::Test", 'Test plugin class' ); |
264 |
isa_ok( $plugin, "Koha::Plugin::Test", 'Test plugin class' ); |
264 |
isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' ); |
265 |
isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' ); |
265 |
- |
|
|