Lines 87-94
subtest fill_holds_at_checkout => sub {
Link Here
|
87 |
is( $transaction->patron( $sip_patron ), $sip_patron, "Patron assigned to transaction" ); |
87 |
is( $transaction->patron( $sip_patron ), $sip_patron, "Patron assigned to transaction" ); |
88 |
is( $transaction->item( $sip_item ), $sip_item, "Item assigned to transaction" ); |
88 |
is( $transaction->item( $sip_item ), $sip_item, "Item assigned to transaction" ); |
89 |
my $checkout = $transaction->do_checkout(); |
89 |
my $checkout = $transaction->do_checkout(); |
90 |
use Data::Printer colored => 1; # Temporary debug statement |
90 |
use Data::Dumper; # Temporary debug statement |
91 |
is( $bib->holds->count(), 1, "Bib has 1 holds remaining") or diag p $checkout; |
91 |
is( $bib->holds->count(), 1, "Bib has 1 holds remaining") or diag Dumper $checkout; |
92 |
|
92 |
|
93 |
t::lib::Mocks::mock_preference('itemBarcodeInputFilter', 'whitespace'); |
93 |
t::lib::Mocks::mock_preference('itemBarcodeInputFilter', 'whitespace'); |
94 |
$sip_item = C4::SIP::ILS::Item->new( ' barcode 4 test '); |
94 |
$sip_item = C4::SIP::ILS::Item->new( ' barcode 4 test '); |
95 |
- |
|
|