Browse Source

Bug 21798: (QA follow-up) Fix Biblios.t

Global symbol "$bibnum" requires explicit package name

Test plan:
Run test

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Marcel de Rooy 6 years ago
committed by Nick Clemens
parent
commit
94e64d3558
  1. 2
      t/db_dependent/Koha/Biblios.t

2
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 '

Loading…
Cancel
Save