Bugzilla – Attachment 89551 Details for
Bug 22053
Ability to disable some plugins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22053: (QA follow-up) Fix tests
Bug-22053-QA-follow-up-Fix-tests.patch (text/plain), 1.11 KB, created by
Tomás Cohen Arazi
on 2019-05-10 14:52:53 UTC
(
hide
)
Description:
Bug 22053: (QA follow-up) Fix tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2019-05-10 14:52:53 UTC
Size:
1.11 KB
patch
obsolete
>From 5c41db3293ba4501af1fa1bbcb73cc3c579dcc31 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 10 May 2019 11:52:34 -0300 >Subject: [PATCH] Bug 22053: (QA follow-up) Fix tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/ImportBatch.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/ImportBatch.t b/t/db_dependent/ImportBatch.t >index f42e0d8822..9f66e42261 100644 >--- a/t/db_dependent/ImportBatch.t >+++ b/t/db_dependent/ImportBatch.t >@@ -187,7 +187,8 @@ subtest "RecordsFromMarcPlugin" => sub { > close $fh; > > t::lib::Mocks::mock_config( 'enable_plugins', 1 ); >- my ( $plugin ) = Koha::Plugins->new->GetPlugins({ metadata => { name => 'MarcFieldValues' } }); >+ t::lib::Mocks::mock_preference( 'EnablePlugins', 1 ); >+ my ($plugin) = Koha::Plugins->new->GetPlugins({ all => 1, metadata => { name => 'MarcFieldValues' } }); > isnt( $plugin, undef, "Plugin found" ); > my $records = C4::ImportBatch::RecordsFromMarcPlugin( $name, ref $plugin, 'UTF-8' ); > is( @$records, 2, 'Two results returned' ); >-- >2.21.0
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 22053
:
83537
|
83538
|
83539
|
83540
|
83666
|
83667
|
86961
|
86962
|
86963
|
86964
|
88783
|
88784
|
88785
|
88818
|
88819
|
88820
|
89040
|
89041
|
89042
|
89043
|
89116
|
89551
|
89558