@@ -, +, @@ --- t/db_dependent/Plugins.t | 4 +++- t/lib/Koha/Plugin/Test.pm | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) --- a/t/db_dependent/Plugins.t +++ a/t/db_dependent/Plugins.t @@ -2,7 +2,7 @@ use Modern::Perl; -use Test::More tests => 35; +use Test::More tests => 37; use CGI; use File::Basename; use File::Temp qw( tempdir tempfile ); @@ -42,6 +42,8 @@ isa_ok( $plugin, "Koha::Plugins::Base", 'Test plugin parent class' ); ok( $plugin->can('report'), 'Test plugin can report' ); ok( $plugin->can('tool'), 'Test plugin can tool' ); ok( $plugin->can('to_marc'), 'Test plugin can to_marc' ); +ok( $plugin->can('intranet_catalog_biblio_enhancements'), 'Test plugin can intranet_catalog_biblio_enhancements'); +ok( $plugin->can('get_intranet_catalog_toolbar_button'), 'Test plugin can get_intranet_catalog_toolbar_button' ); ok( $plugin->can('opac_online_payment'), 'Test plugin can opac_online_payment' ); ok( $plugin->can('opac_online_payment_begin'), 'Test plugin can opac_online_payment_begin' ); ok( $plugin->can('opac_online_payment_end'), 'Test plugin can opac_online_payment_end' ); --- a/t/lib/Koha/Plugin/Test.pm +++ a/t/lib/Koha/Plugin/Test.pm @@ -43,6 +43,16 @@ sub to_marc { return "Koha::Plugin::Test::to_marc"; } +sub get_intranet_catalog_toolbar_button { + my ( $self, $args ) = @_; + return "Koha::Plugin::Test::get_intranet_catalog_toolbar_button"; +} + +sub intranet_catalog_biblio_enhancements { + my ( $self, $args ) = @_; + return "Koha::Plugin::Test::intranet_catalog_biblio_enhancements"; +} + sub opac_online_payment { my ( $self, $args ) = @_; return "Koha::Plugin::Test::opac_online_payment"; --