From 531f710cacb848a1d7a75f182fb8f9fe9b8c9c89 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 Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- 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 efc30b00c0..bd7877d6ee 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.39.2