46 |
subtest 'General Add, Get and Del tests' => sub { |
46 |
subtest 'General Add, Get and Del tests' => sub { |
82 |
DelItem({ biblionumber => $bibnum, itemnumber => $itemnumber }); |
82 |
DelItem({ biblionumber => $bibnum, itemnumber => $itemnumber }); |
84 |
isnt($getdeleted->{'deleted_on'}, undef, "Item deleted as expected."); |
86 |
is($getdeleted->{'itemnumber'}, undef, "Item not returned by GetItem as expected."); |
86 |
($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem({ homebranch => $library->{branchcode}, holdingbranch => $library->{branchcode}, location => $location, permanent_location => 'my permanent location', itype => $itemtype->{itemtype} } , $bibnum); |
88 |
($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem({ homebranch => $library->{branchcode}, holdingbranch => $library->{branchcode}, location => $location, permanent_location => 'my permanent location', itype => $itemtype->{itemtype} } , $bibnum); |