unit/client/test-helper: removed unnecessary parameters for client.connect()
This commit is contained in:
parent
760a2aad11
commit
aded1af4e5
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user