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:
parent
0fb57fa56a
commit
883b57b0dd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue