From 6ecc0df8c5743f320fa90c8af39ebc7b8f8ff5cc 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 Content-Type: text/plain; charset=utf-8 Yes, it should be the last statement. Actually the preceding delete is unneeded. Signed-off-by: Marcel de Rooy --- 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.30.2