Bugzilla – Attachment 142758 Details for
Bug 31896
New recall hook when adding recall
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31896: (QA follow-up) Fix modules
Bug-31896-QA-follow-up-Fix-modules.patch (text/plain), 1.31 KB, created by
Marcel de Rooy
on 2022-10-28 08:47:04 UTC
(
hide
)
Description:
Bug 31896: (QA follow-up) Fix modules
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-10-28 08:47:04 UTC
Size:
1.31 KB
patch
obsolete
>From 7455737d26cbaf31b5812ba7632c1d4905989b85 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 28 Oct 2022 08:43:28 +0000 >Subject: [PATCH] Bug 31896: (QA follow-up) Fix modules >Content-Type: text/plain; charset=utf-8 > >Triggered by seeing Koha::Account. Copy and paste ;) >But a bunch of other modules should (at least formally) be there. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Plugins/Recall_hooks.t | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/t/db_dependent/Koha/Plugins/Recall_hooks.t b/t/db_dependent/Koha/Plugins/Recall_hooks.t >index 31d1d1371a..ee8acbcc8b 100755 >--- a/t/db_dependent/Koha/Plugins/Recall_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Recall_hooks.t >@@ -15,18 +15,20 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >- >+use File::Basename; > use Test::More tests => 4; > use Test::MockModule; > use Test::Warn; > >-use File::Basename; >- >-use Koha::Account qw( add_credit ); >- > use t::lib::Mocks; > use t::lib::TestBuilder; > >+use Koha::Database; >+use C4::Circulation qw(); >+use Koha::CirculationRules; >+use Koha::Plugins::Methods; >+use Koha::Recalls; >+ > BEGIN { > # Mock pluginsdir before loading Plugins module > my $path = dirname(__FILE__) . '/../../../lib/plugins'; >-- >2.30.2
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 31896
:
142267
|
142279
|
142307
|
142331
|
142757
|
142758
|
142759
|
143169
|
143170
|
143171