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

(-)a/t/db_dependent/Plugins.t (-1 / +3 lines)
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' );
(-)a/t/lib/Koha/Plugin/Test.pm (-1 / +10 lines)
Lines 43-48 sub to_marc { Link Here
43
    return "Koha::Plugin::Test::to_marc";
43
    return "Koha::Plugin::Test::to_marc";
44
}
44
}
45
45
46
sub get_intranet_catalog_toolbar_button {
47
    my ( $self, $args ) = @_;
48
    return "Koha::Plugin::Test::get_intranet_catalog_toolbar_button";
49
}
50
51
sub intranet_catalog_biblio_enhancements {
52
    my ( $self, $args ) = @_;
53
    return "Koha::Plugin::Test::intranet_catalog_biblio_enhancements";
54
}
55
46
sub opac_online_payment {
56
sub opac_online_payment {
47
    my ( $self, $args ) = @_;
57
    my ( $self, $args ) = @_;
48
    return "Koha::Plugin::Test::opac_online_payment";
58
    return "Koha::Plugin::Test::opac_online_payment";
49
- 

Return to bug 20968