View | Details | Raw Unified | Return to bug 21798
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Biblios.t (-2 / +1 lines)
Lines 175-181 subtest 'can_be_transferred' => sub { Link Here
175
         .'items is already located at to-library, then the transfer is possible.');
175
         .'items is already located at to-library, then the transfer is possible.');
176
    $item->holdingbranch($library1->branchcode)->store;
176
    $item->holdingbranch($library1->branchcode)->store;
177
    my ($item_bibnum2, $item_bibitemnum2, $itemnumber2)
177
    my ($item_bibnum2, $item_bibitemnum2, $itemnumber2)
178
        = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $bibnum);
178
        = AddItem({ homebranch => $library1->branchcode, holdingbranch => $library3->branchcode }, $biblio->biblionumber);
179
    my $item2  = Koha::Items->find($itemnumber2);
179
    my $item2  = Koha::Items->find($itemnumber2);
180
    is($biblio->can_be_transferred({ to => $library2 }), 1, 'Given we added '
180
    is($biblio->can_be_transferred({ to => $library2 }), 1, 'Given we added '
181
        .'another item that should have no transfer limits applying on, then '
181
        .'another item that should have no transfer limits applying on, then '
182
- 

Return to bug 21798