Added good tests

This commit is contained in:
2015-06-03 18:11:29 +02:00
parent db766927f3
commit f15d89283d
3 changed files with 86 additions and 27 deletions
+2 -2
View File
@@ -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 = {};