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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2022-10-28 08:45:02 +00:00 committed by Tomas Cohen Arazi
parent 0fb57fa56a
commit 883b57b0dd
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -95,6 +95,6 @@ subtest 'after_recall_action hook' => sub {
qr/after_recall_action called with action: add, ref: Koha::Recall/, qr/after_recall_action called with action: add, ref: Koha::Recall/,
'->add_recall calls the after_recall_action hook with action add'; '->add_recall calls the after_recall_action hook with action add';
$schema->storage->txn_rollback;
Koha::Plugins::Methods->delete; Koha::Plugins::Methods->delete;
$schema->storage->txn_rollback;
}; };