Bugzilla – Attachment 163765 Details for
Bug 35548
Move KitchenSink test on its own and control table creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35548: (follow-up) Fix mock statement for D10
Bug-35548-follow-up-Fix-mock-statement-for-D10.patch (text/plain), 1.46 KB, created by
Marcel de Rooy
on 2024-03-25 08:23:22 UTC
(
hide
)
Description:
Bug 35548: (follow-up) Fix mock statement for D10
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-03-25 08:23:22 UTC
Size:
1.46 KB
patch
obsolete
>From f168320d66efcf2c455b5cf1d7a14ab57fe1420e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 25 Mar 2024 08:20:09 +0000 >Subject: [PATCH] Bug 35548: (follow-up) Fix mock statement for D10 >Content-Type: text/plain; charset=utf-8 > >Test plan: Run t/db_dependent/Koha/Plugins/KitchenSink.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Plugins/KitchenSink.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Plugins/KitchenSink.t b/t/db_dependent/Koha/Plugins/KitchenSink.t >index d3c2c08891..7393d00ef2 100755 >--- a/t/db_dependent/Koha/Plugins/KitchenSink.t >+++ b/t/db_dependent/Koha/Plugins/KitchenSink.t >@@ -53,7 +53,9 @@ subtest 'Fun with KitchenSink, Handler->delete' => sub { > push @INC, $plugins_dir; > my $ae = Archive::Extract->new( archive => "$Bin/KitchenSinkPlugin.kpz", type => 'zip' ); > $ae->extract( to => $plugins_dir ) or warn "ERROR: " . $ae->error; >- my $mock = Test::MockModule->new($module_name)->mock( install => 1 )->mock( uninstall => 1 ); >+ my $mock = Test::MockModule->new($module_name); >+ $mock->mock( install => 1 ); >+ $mock->mock( uninstall => 1 ); > warning_is { Koha::Plugins->new->InstallPlugins; } undef, 'No warnings from InstallPlugins'; > ok( Koha::Plugins::Datas->count > $count_d, 'More records in plugin_data' ); > ok( Koha::Plugins::Methods->count > $count_m, 'More records in plugin_methods' ); >-- >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 35548
:
160115
|
160826
|
160990
| 163765