diff --git a/t/db_dependent/Koha/Plugins/Recall_hooks.t b/t/db_dependent/Koha/Plugins/Recall_hooks.t index 0ab79e0517..536e4a5660 100755 --- a/t/db_dependent/Koha/Plugins/Recall_hooks.t +++ b/t/db_dependent/Koha/Plugins/Recall_hooks.t @@ -81,7 +81,7 @@ subtest 'after_recall_action hook' => sub { C4::Circulation::AddIssue( $patron2, $item->barcode ); - warning_like { + warnings_exist { Koha::Recalls->add_recall({ patron => $patron1, biblio => $biblio,