Browse Source

Bug 23129: Unit test

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
remotes/origin/19.11.x
Nick Clemens 4 years ago
committed by Martin Renvoize
parent
commit
61aa04e6cb
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 6
      t/db_dependent/Circulation/transfers.t

6
t/db_dependent/Circulation/transfers.t

@ -27,7 +27,7 @@ use Koha::Item::Transfers;
use t::lib::TestBuilder;
use Test::More tests => 24;
use Test::More tests => 25;
use Test::Deep;
BEGIN {
@ -96,6 +96,10 @@ ModItemTransfer(
$branchcode_1,
$branchcode_2
);
my $item_obj = Koha::Items->find({ itemnumber => $item_id1 });
is( $item_obj->holdingbranch, $branchcode_1, "Item should be held at branch that initiates transfer");
ModItemTransfer(
$item_id2,
$branchcode_1,

Loading…
Cancel
Save