Bugzilla – Attachment 142922 Details for
Bug 29672
Increase performance of Koha::Plugins->call
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29672: Fix test t/db_dependent/Koha/Plugins/Plugins.t
Bug-29672-Fix-test-tdbdependentKohaPluginsPluginst.patch (text/plain), 1.22 KB, created by
Kyle M Hall (khall)
on 2022-11-02 11:17:40 UTC
(
hide
)
Description:
Bug 29672: Fix test t/db_dependent/Koha/Plugins/Plugins.t
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-11-02 11:17:40 UTC
Size:
1.22 KB
patch
obsolete
>From 0f671429c870f8b7cf38a1318238dd4f62204772 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 2 Nov 2022 09:46:45 +0100 >Subject: [PATCH] Bug 29672: Fix test t/db_dependent/Koha/Plugins/Plugins.t > >Table plugin_data was not always cleared > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Koha/Plugins/Plugins.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Koha/Plugins/Plugins.t b/t/db_dependent/Koha/Plugins/Plugins.t >index 7d9166da9a..db68b9d195 100755 >--- a/t/db_dependent/Koha/Plugins/Plugins.t >+++ b/t/db_dependent/Koha/Plugins/Plugins.t >@@ -93,6 +93,7 @@ subtest 'more call() tests' => sub { > $schema->storage->txn_begin; > # Temporarily remove any installed plugins data > Koha::Plugins::Methods->delete; >+ $schema->resultset('PluginData')->delete(); > > t::lib::Mocks::mock_config('enable_plugins', 1); > my $plugins = Koha::Plugins->new({ enable_plugins => 1 }); >@@ -198,6 +199,7 @@ subtest 'is_enabled() tests' => sub { > > $schema->storage->txn_begin; > Koha::Plugins::Methods->delete; >+$schema->resultset('PluginData')->delete; > > warning_is { Koha::Plugins->new( { enable_plugins => 1 } )->InstallPlugins(); } undef; > >-- >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 29672
:
128376
|
128377
|
135660
|
135661
|
135704
|
142844
|
142845
|
142846
|
142916
|
142919
|
142920
|
142921
| 142922 |
142923