From 216d5bd8622da1f4123f9dbb75ef9976fe184a28 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 22 Oct 2021 08:19:01 +0000 Subject: [PATCH] Bug 29306: Fix warning on undefined $_ in Holds.t Use of uninitialized value $_ in concatenation (.) or string at t/db_dependent/Holds.t line 1658. Results from copying line 70. Test plan: Run Holds.t Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- t/db_dependent/Holds.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t index b62bc123bd..69e9b2bc10 100755 --- a/t/db_dependent/Holds.t +++ b/t/db_dependent/Holds.t @@ -1626,7 +1626,7 @@ subtest 'ModReserve can only update expirationdate for found holds' => sub { my $borrowernumber = Koha::Patron->new( { firstname => 'my firstname', - surname => 'my surname ' . $_, + surname => 'whatever surname', categorycode => $category->{categorycode}, branchcode => $branch, } -- 2.11.0