Added good tests
This commit is contained in:
+2
-2
@@ -51,7 +51,7 @@ function smsResp(status, callback) {
|
||||
}
|
||||
|
||||
if (sms.pduObjs === undefined) {
|
||||
sms.pduObjs = [sms.pduObj];
|
||||
sms.pduObjs = [{'pduObj': sms.pduObj}];
|
||||
}
|
||||
|
||||
// Build async tasks to run the responses in parallel
|
||||
@@ -355,7 +355,7 @@ function session(sock) {
|
||||
* to - international format
|
||||
* message - string
|
||||
* dlr - boolean defaults to false
|
||||
* @param func callback(err, smsId, retPduObj)
|
||||
* @param func callback(err, smsIds, retPduObj)
|
||||
*/
|
||||
returnObj.sendSms = function(smsOptions, callback) {
|
||||
var pduObj = {};
|
||||
|
||||
Reference in New Issue
Block a user