Bugzilla – Attachment 191059 Details for
Bug 33758
Add a parameter to use the intranet_catalog_biblio_enhancements_toolbar_button Plugin hook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33758: (QA follow-up) Tidy test file
8d7c96e.patch (text/plain), 2.11 KB, created by
Kyle M Hall (khall)
on 2026-01-09 12:51:40 UTC
(
hide
)
Description:
Bug 33758: (QA follow-up) Tidy test file
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2026-01-09 12:51:40 UTC
Size:
2.11 KB
patch
obsolete
>From 8d7c96e833d0c56aceec70147a6c94738710c728 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 9 Jan 2026 07:50:12 -0500 >Subject: [PATCH] Bug 33758: (QA follow-up) Tidy test file > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Koha/Plugins/Plugins.t | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Plugins/Plugins.t b/t/db_dependent/Koha/Plugins/Plugins.t >index bc626f5830d..e564c1f7d47 100755 >--- a/t/db_dependent/Koha/Plugins/Plugins.t >+++ b/t/db_dependent/Koha/Plugins/Plugins.t >@@ -331,7 +331,7 @@ subtest 'Koha::Plugin::Test' => sub { > > ok( can_load( modules => { "Koha::Plugin::Test" => undef } ), 'Test can_load' ); > >- my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); >+ my $plugin = Koha::Plugin::Test->new( { enable_plugins => 1, cgi => CGI->new } ); > my $biblionumber = 1; > > isa_ok( $plugin, "Koha::Plugin::Test", 'Test plugin class' ); >@@ -341,7 +341,11 @@ subtest 'Koha::Plugin::Test' => sub { > 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' ); >- is( $plugin->intranet_catalog_biblio_enhancements_toolbar_button({ biblionumber => $biblionumber }), $biblionumber, 'Test plugin can intranet_catalog_biblio_enhancements_toolbar_button with biblionumber parameter'); >+ is( >+ $plugin->intranet_catalog_biblio_enhancements_toolbar_button( { biblionumber => $biblionumber } ), >+ $biblionumber, >+ 'Test plugin can intranet_catalog_biblio_enhancements_toolbar_button with biblionumber parameter' >+ ); > ok( $plugin->can('opac_online_payment'), 'Test plugin can opac_online_payment' ); > ok( $plugin->can('after_hold_create'), 'Test plugin can after_hold_create' ); > ok( $plugin->can('before_send_messages'), 'Test plugin can before_send_messages' ); >-- >2.50.1 (Apple Git-155) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33758
:
151426
|
151434
|
151473
|
158160
|
163798
|
178342
|
178354
|
178355
|
185236
|
185287
|
185288
|
191057
|
191058
| 191059