View | Details | Raw Unified | Return to bug 29672
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Plugins/Plugins.t (-1 / +2 lines)
Lines 93-98 subtest 'more call() tests' => sub { Link Here
93
    $schema->storage->txn_begin;
93
    $schema->storage->txn_begin;
94
    # Temporarily remove any installed plugins data
94
    # Temporarily remove any installed plugins data
95
    Koha::Plugins::Methods->delete;
95
    Koha::Plugins::Methods->delete;
96
    $schema->resultset('PluginData')->delete();
96
97
97
    t::lib::Mocks::mock_config('enable_plugins', 1);
98
    t::lib::Mocks::mock_config('enable_plugins', 1);
98
    my $plugins = Koha::Plugins->new({ enable_plugins => 1 });
99
    my $plugins = Koha::Plugins->new({ enable_plugins => 1 });
Lines 198-203 subtest 'is_enabled() tests' => sub { Link Here
198
199
199
$schema->storage->txn_begin;
200
$schema->storage->txn_begin;
200
Koha::Plugins::Methods->delete;
201
Koha::Plugins::Methods->delete;
202
$schema->resultset('PluginData')->delete;
201
203
202
warning_is { Koha::Plugins->new( { enable_plugins => 1 } )->InstallPlugins(); } undef;
204
warning_is { Koha::Plugins->new( { enable_plugins => 1 } )->InstallPlugins(); } undef;
203
205
204
- 

Return to bug 29672