Bug 40296: Fix failing Returns.t test
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commiteab5aa774c) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit2cb92275a1) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
ac6963712e
commit
7baf3fb81b
|
|
@ -132,6 +132,7 @@ subtest "AddReturn logging on statistics table (item-level_itypes=1)" => sub {
|
|||
warning_like { AddIssue( $patron, $item_without_itemtype->barcode ) }
|
||||
[qr/^item-level_itypes set but no itemtype set for item/,
|
||||
qr/^item-level_itypes set but no itemtype set for item/,
|
||||
qr/^item-level_itypes set but no itemtype set for item/,
|
||||
qr/^item-level_itypes set but no itemtype set for item/],
|
||||
'Item without itemtype set raises warning on AddIssue';
|
||||
AddReturn( $item_without_itemtype->barcode, $branch );
|
||||
|
|
|
|||
Loading…
Reference in New Issue