unit/client/test-helper: removed unnecessary parameters for client.connect()

This commit is contained in:
booo 2011-09-21 17:15:34 +02:00 committed by brianc
parent 760a2aad11
commit aded1af4e5

View File

@ -9,7 +9,7 @@ var makeClient = function() {
};
connection.queries = [];
var client = new Client({connection: connection});
client.connect(helper.args.port, helper.args.host);
client.connect();
client.connection.emit('connect');
return client;
};