Bugzilla – Attachment 159804 Details for
Bug 35536
Improve removal of Koha plugins in unit tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35536: Tiny fix in PluginRoutes.t
Bug-35536-Tiny-fix-in-PluginRoutest.patch (text/plain), 1.20 KB, created by
Marcel de Rooy
on 2023-12-13 14:55:21 UTC
(
hide
)
Description:
Bug 35536: Tiny fix in PluginRoutes.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-12-13 14:55:21 UTC
Size:
1.20 KB
patch
obsolete
>From fabca26fd2841f681af24c04754c1aa8c321b000 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 13 Dec 2023 14:28:02 +0000 >Subject: [PATCH] Bug 35536: Tiny fix in PluginRoutes.t >Content-Type: text/plain; charset=utf-8 > >There was a change in record counts in plugin_data and methods between >first part and last part of subtest 'needs_install use case tests'. >This fix makes the situation at the start of the last part more >similar. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/REST/Plugin/PluginRoutes.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >index 66746508ed..a92b380af6 100755 >--- a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >+++ b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >@@ -234,7 +234,8 @@ subtest 'needs_install use case tests' => sub { > > t::lib::Mocks::mock_preference('Version', '3.0.0'); > >- $schema->resultset('PluginData')->delete; >+ Koha::Plugins::Methods->delete; >+ $plugins = Koha::Plugins->new; > $plugins->InstallPlugins; > > # re-initialize Koha::REST::V1 after mocking >-- >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 35536
:
159804
|
159820
|
159821
|
159822
|
159823
|
159824
|
159825
|
159830
|
159839
|
159840
|
159841
|
159842
|
159843
|
159844
|
160024
|
160025
|
160026
|
160027
|
160028
|
160029
|
160030
|
160031
|
160032
|
160801
|
160802
|
160803
|
160804
|
160805
|
160806
|
160807
|
160808
|
160809
|
160817
|
160818
|
160819
|
160820
|
160821
|
160822
|
160823
|
160824
|
160825
|
160881
|
160882
|
160883
|
160884
|
160885
|
160886
|
160887
|
160888
|
160889
|
163701
|
163797