Lines 85-92
subtest fill_holds_at_checkout => sub {
Link Here
|
85 |
is( ref $transaction, "C4::SIP::ILS::Transaction::Checkout", "New transaction created" ); |
85 |
is( ref $transaction, "C4::SIP::ILS::Transaction::Checkout", "New transaction created" ); |
86 |
is( $transaction->patron( $sip_patron ), $sip_patron, "Patron assigned to transaction" ); |
86 |
is( $transaction->patron( $sip_patron ), $sip_patron, "Patron assigned to transaction" ); |
87 |
is( $transaction->item( $sip_item ), $sip_item, "Item assigned to transaction" ); |
87 |
is( $transaction->item( $sip_item ), $sip_item, "Item assigned to transaction" ); |
88 |
$transaction->do_checkout(); |
88 |
my $checkout = $transaction->do_checkout(); |
89 |
is( $bib->holds->count(), 1, "Bib has 1 holds remaining"); |
89 |
use Data::Printer colored => 1; # Temporary debug statement |
|
|
90 |
is( $bib->holds->count(), 1, "Bib has 1 holds remaining") or diag p $checkout; |
90 |
|
91 |
|
91 |
|
92 |
|
92 |
}; |
93 |
}; |
93 |
- |
|
|