From 3428d04b1262102c01a9d3ed179c5cf20e20dc2a Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 8 Jan 2024 12:21:06 +0000 Subject: [PATCH] Bug 35581: (QA follow-up): Update changes coming from bug 35331 Test plan: prove t/db_dependent/Koha/Plugins/Ill_hooks.t --- members/ill-requests.pl | 2 +- t/db_dependent/Koha/Plugins/Ill_hooks.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/members/ill-requests.pl b/members/ill-requests.pl index d4573fabf3b..8162abd6cbb 100755 --- a/members/ill-requests.pl +++ b/members/ill-requests.pl @@ -46,7 +46,7 @@ $template->param( prefilters => "borrowernumber=$borrowernumber", patron => $patron, illview => 1, - table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ), + table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/t/db_dependent/Koha/Plugins/Ill_hooks.t b/t/db_dependent/Koha/Plugins/Ill_hooks.t index 5abd6e6a567..eb1adcb2b98 100755 --- a/t/db_dependent/Koha/Plugins/Ill_hooks.t +++ b/t/db_dependent/Koha/Plugins/Ill_hooks.t @@ -47,7 +47,7 @@ subtest 'ill_table_actions hook' => sub { my $plugins = Koha::Plugins->new; $plugins->InstallPlugins; - my $table_actions = Koha::Illrequest->get_staff_table_actions; + my $table_actions = Koha::ILL::Request->get_staff_table_actions; is_deeply( $table_actions, -- 2.30.2