From: Martin Renvoize Date: Mon, 8 Jul 2019 17:33:16 +0000 (+0100) Subject: Bug 22709: (RM follow-up) Add rollback to plugin test X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=803e209e37086029d553778561088b45c36cb4cf Bug 22709: (RM follow-up) Add rollback to plugin test Rollback for InstallPlugins Signed-off-by: Martin Renvoize --- diff --git a/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t b/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t index 32a2ce4..633ef04 100755 --- a/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t +++ b/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t @@ -81,4 +81,5 @@ subtest 'after_biblio_action() and after_item_action() hooks tests' => sub { 'DelBiblio calls the hook with action=delete biblio_id passed'; $schema->storage->txn_rollback; + Koha::Plugins::Methods->delete; };