From 7baf3fb81bafe3e245e892d56fed00779035e7d9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 15 Aug 2025 14:42:12 +0000 Subject: [PATCH] Bug 40296: Fix failing Returns.t test Signed-off-by: Lucas Gass (cherry picked from commit eab5aa774c5d8ba3c6f95c1aee411ab100da2c18) Signed-off-by: Paul Derscheid (cherry picked from commit 2cb92275a1ac3ffbb9202747bd80ff4ad0556a33) Signed-off-by: Fridolin Somers --- t/db_dependent/Circulation/Returns.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t index e11fe4d001..f3f94d64ec 100755 --- a/t/db_dependent/Circulation/Returns.t +++ b/t/db_dependent/Circulation/Returns.t @@ -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 );