Lines 640-646
sub test_checkin_v2 {
Link Here
|
640 |
undef $response; |
640 |
undef $response; |
641 |
$msg = C4::SIP::Sip::MsgType->new( $siprequest, 0 ); |
641 |
$msg = C4::SIP::Sip::MsgType->new( $siprequest, 0 ); |
642 |
warnings_like { $msg->handle_checkin( $server ); } |
642 |
warnings_like { $msg->handle_checkin( $server ); } |
643 |
[ qr/Duplicate entry/, qr/data corrupted/ ], |
643 |
[ qr/Duplicate entry/, qr/data issues/ ], |
644 |
'DBIx error on duplicate issue_id'; |
644 |
'DBIx error on duplicate issue_id'; |
645 |
is( substr($response,2,1), '0', 'OK flag is false when we encounter data corruption in old_issues' ); |
645 |
is( substr($response,2,1), '0', 'OK flag is false when we encounter data corruption in old_issues' ); |
646 |
is( substr($response,5,1), 'Y', 'Alert flag is set' ); |
646 |
is( substr($response,5,1), 'Y', 'Alert flag is set' ); |
647 |
- |
|
|