Bug 22053: (QA follow-up) Override enable_plugins configuration
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 30 Apr 2019 13:54:01 +0000 (10:54 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 9 May 2019 18:54:46 +0000 (18:54 +0000)
commit1cd1fcc9d72fc031f1aba42eee7e79040f758569
tree1be4f5806c6fe692aa6b84ed6ab5823b6dd13e08
parent4aa2e16ec18f50dfe7c00f1eafc87a7546b24f04
Bug 22053: (QA follow-up) Override enable_plugins configuration

This patch makes the update script override the configured
enable_plugins setting in koha-conf.xml.

on testing the failure I wrote trivial tests on how
Koha::Plugins->new({ enable_plugins => 1 }) should work. Adding them to
this patch as well.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl
t/db_dependent/Plugins.t