Lines 124-130
subtest 'hold_patron_name() tests' => sub {
Link Here
|
124 |
|
124 |
|
125 |
is( $sip_item->hold_patron_name, q{}, "SIP item with no hold returns empty string for patron name" ); |
125 |
is( $sip_item->hold_patron_name, q{}, "SIP item with no hold returns empty string for patron name" ); |
126 |
|
126 |
|
127 |
my $resp .= C4::SIP::Sip::maybe_add( FID_CALL_NUMBER, $sip_item->hold_patron_name, $server ); |
127 |
my $resp = C4::SIP::Sip::maybe_add( FID_CALL_NUMBER, $sip_item->hold_patron_name, $server ); |
128 |
is( $resp, q{}, "maybe_add returns empty string for SIP item with no hold returns empty string" ); |
128 |
is( $resp, q{}, "maybe_add returns empty string for SIP item with no hold returns empty string" ); |
129 |
|
129 |
|
130 |
$schema->storage->txn_rollback; |
130 |
$schema->storage->txn_rollback; |
Lines 837-843
sub test_hold_patron_bcode {
Link Here
|
837 |
|
837 |
|
838 |
is( $sip_item->hold_patron_bcode, q{}, "SIP item with no hold returns empty string" ); |
838 |
is( $sip_item->hold_patron_bcode, q{}, "SIP item with no hold returns empty string" ); |
839 |
|
839 |
|
840 |
my $resp .= C4::SIP::Sip::maybe_add( FID_CALL_NUMBER, $sip_item->hold_patron_bcode, $server ); |
840 |
my $resp = C4::SIP::Sip::maybe_add( FID_CALL_NUMBER, $sip_item->hold_patron_bcode, $server ); |
841 |
is( $resp, q{}, "maybe_add returns empty string for SIP item with no hold returns empty string" ); |
841 |
is( $resp, q{}, "maybe_add returns empty string for SIP item with no hold returns empty string" ); |
842 |
} |
842 |
} |
843 |
|
843 |
|
844 |
- |
|
|