|
Lines 332-337
subtest 'Koha::Plugin::Test' => sub {
Link Here
|
| 332 |
ok( can_load( modules => { "Koha::Plugin::Test" => undef } ), 'Test can_load' ); |
332 |
ok( can_load( modules => { "Koha::Plugin::Test" => undef } ), 'Test can_load' ); |
| 333 |
|
333 |
|
| 334 |
my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); |
334 |
my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); |
|
|
335 |
my $biblionumber = 1; |
| 335 |
|
336 |
|
| 336 |
isa_ok( $plugin, "Koha::Plugin::Test", 'Test plugin class' ); |
337 |
isa_ok( $plugin, "Koha::Plugin::Test", 'Test plugin class' ); |
| 337 |
isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' ); |
338 |
isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' ); |
| 338 |
- |
|
|