diff --git a/test/providers/primus.test.js b/test/providers/primus.test.js index abf2401912..93e0cdec43 100644 --- a/test/providers/primus.test.js +++ b/test/providers/primus.test.js @@ -255,7 +255,7 @@ describe('Primus provider', function () { return callback(null, data); } - callback(); + callback(null, false); }; socket.send('todo::remove', 1, {}, function() {}); @@ -432,7 +432,7 @@ describe('Primus provider', function () { return callback(null, data); } - callback(); + callback(null, false); }; socket.send('tasks::remove', 1, {}, function() {}); diff --git a/test/providers/socketio.test.js b/test/providers/socketio.test.js index f60085f262..21db19234e 100644 --- a/test/providers/socketio.test.js +++ b/test/providers/socketio.test.js @@ -254,7 +254,7 @@ describe('SocketIO provider', function () { return callback(null, data); } - callback(); + callback(null, false); }; socket.emit('todo::remove', 1, {}, function() {}); @@ -431,7 +431,7 @@ describe('SocketIO provider', function () { return callback(null, data); } - callback(); + callback(null, false); }; socket.emit('tasks::remove', 1, {}, function() {});