Bug 35568: (RM follow-up) Use warnings_exist over warning_like
We introduced additional warnings triggered by prepared letter and those caused the test of the recall hook to fail. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
200fc922d7
commit
07682a5a67
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue