View | Details | Raw Unified | Return to bug 31481
Collapse All | Expand All

(-)a/C4/Letters.pm (+1 lines)
Lines 1519-1524 sub _send_message_by_sms { Link Here
1519
        {
1519
        {
1520
            destination => $patron->smsalertnumber,
1520
            destination => $patron->smsalertnumber,
1521
            message     => $message->{'content'},
1521
            message     => $message->{'content'},
1522
            message_id  => $message->{'message_id'},
1522
        }
1523
        }
1523
    );
1524
    );
1524
1525
(-)a/C4/SMS.pm (+1 lines)
Lines 120-125 sub send_sms { Link Here
120
        $sent = $sender->send_sms(
120
        $sent = $sender->send_sms(
121
            to   => $params->{destination},
121
            to   => $params->{destination},
122
            text => $params->{message},
122
            text => $params->{message},
123
            _message_id => $params->{'message_id'},
123
        );
124
        );
124
    };
125
    };
125
126
(-)a/t/SMS.t (-1 / +1 lines)
Lines 57-62 $send_sms = C4::SMS->send_sms({ Link Here
57
    destination => '+33123456789',
57
    destination => '+33123456789',
58
    message => 'my message',
58
    message => 'my message',
59
    driver => 'Test',
59
    driver => 'Test',
60
    message_id => 1,
60
});
61
});
61
is( $send_sms, 1, 'send_sms returns 1' );
62
is( $send_sms, 1, 'send_sms returns 1' );
62
63
63
- 

Return to bug 31481