From 883b57b0dd7762e617e39670fc1ad2e9b3045d86 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 28 Oct 2022 08:45:02 +0000 Subject: [PATCH] Bug 31896: (QA follow-up) Fix rollback Yes, it should be the last statement. Actually the preceding delete is unneeded. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/Plugins/Recall_hooks.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Plugins/Recall_hooks.t b/t/db_dependent/Koha/Plugins/Recall_hooks.t index ee8acbcc8b..19624f1211 100755 --- a/t/db_dependent/Koha/Plugins/Recall_hooks.t +++ b/t/db_dependent/Koha/Plugins/Recall_hooks.t @@ -95,6 +95,6 @@ subtest 'after_recall_action hook' => sub { qr/after_recall_action called with action: add, ref: Koha::Recall/, '->add_recall calls the after_recall_action hook with action add'; - $schema->storage->txn_rollback; Koha::Plugins::Methods->delete; + $schema->storage->txn_rollback; }; -- 2.39.5