|
Lines 2-8
Link Here
|
| 2 |
|
2 |
|
| 3 |
use Modern::Perl; |
3 |
use Modern::Perl; |
| 4 |
|
4 |
|
| 5 |
use Test::More tests => 35; |
5 |
use Test::More tests => 37; |
| 6 |
use CGI; |
6 |
use CGI; |
| 7 |
use File::Basename; |
7 |
use File::Basename; |
| 8 |
use File::Temp qw( tempdir tempfile ); |
8 |
use File::Temp qw( tempdir tempfile ); |
|
Lines 42-47
isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' );
Link Here
|
| 42 |
ok( $plugin->can('report'), 'Test plugin can report' ); |
42 |
ok( $plugin->can('report'), 'Test plugin can report' ); |
| 43 |
ok( $plugin->can('tool'), 'Test plugin can tool' ); |
43 |
ok( $plugin->can('tool'), 'Test plugin can tool' ); |
| 44 |
ok( $plugin->can('to_marc'), 'Test plugin can to_marc' ); |
44 |
ok( $plugin->can('to_marc'), 'Test plugin can to_marc' ); |
|
|
45 |
ok( $plugin->can('intranet_catalog_biblio_enhancements'), 'Test plugin can intranet_catalog_biblio_enhancements'); |
| 46 |
ok( $plugin->can('get_intranet_catalog_toolbar_button'), 'Test plugin can get_intranet_catalog_toolbar_button' ); |
| 45 |
ok( $plugin->can('opac_online_payment'), 'Test plugin can opac_online_payment' ); |
47 |
ok( $plugin->can('opac_online_payment'), 'Test plugin can opac_online_payment' ); |
| 46 |
ok( $plugin->can('opac_online_payment_begin'), 'Test plugin can opac_online_payment_begin' ); |
48 |
ok( $plugin->can('opac_online_payment_begin'), 'Test plugin can opac_online_payment_begin' ); |
| 47 |
ok( $plugin->can('opac_online_payment_end'), 'Test plugin can opac_online_payment_end' ); |
49 |
ok( $plugin->can('opac_online_payment_end'), 'Test plugin can opac_online_payment_end' ); |