Bug 22709: (RM follow-up) Add rollback to plugin test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Jul 2019 17:33:16 +0000 (18:33 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Jul 2019 17:34:40 +0000 (18:34 +0100)
Rollback for InstallPlugins

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t

index 32a2ce4..633ef04 100755 (executable)
@@ -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;
 };