From a785dda94809c3b9681cdd7727badbe622104153 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 13 Dec 2018 13:51:20 +0100 Subject: [PATCH] Bug 21798: (QA follow-up) Fix Biblios.t Content-Type: text/plain; charset=utf-8 Global symbol "$bibnum" requires explicit package name Test plan: Run test Signed-off-by: Marcel de Rooy --- t/db_dependent/Koha/Biblios.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Biblios.t b/t/db_dependent/Koha/Biblios.t index 2ea000d..a3892c5 100644 --- a/t/db_dependent/Koha/Biblios.t +++ b/t/db_dependent/Koha/Biblios.t @@ -175,7 +175,7 @@ subtest 'can_be_transferred' => sub { .'items is already located at to-library, then the transfer is possible.'); $item->holdingbranch($library1->branchcode)->store; my ($item_bibnum2, $item_bibitemnum2, $itemnumber2) - = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $bibnum); + = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $biblio->biblionumber); my $item2 = Koha::Items->find($itemnumber2); is($biblio->can_be_transferred({ to => $library2 }), 1, 'Given we added ' .'another item that should have no transfer limits applying on, then ' -- 2.1.4