Cleaned the ZombieDriver configuration
The ZombieDriver expects a single argument when passing a ZombieServer, and it ignores any subsequent argument. Thus, it never deals with a Connection itself (the server does). Closes #23
This commit is contained in:
@@ -40,7 +40,6 @@ class ZombieFactory implements DriverFactory
|
||||
->children()
|
||||
->scalarNode('host')->defaultValue('127.0.0.1')->end()
|
||||
->scalarNode('port')->defaultValue(8124)->end()
|
||||
->booleanNode('auto_server')->defaultTrue()->end()
|
||||
->scalarNode('node_bin')->defaultValue('node')->end()
|
||||
->scalarNode('server_path')->defaultNull()->end()
|
||||
->scalarNode('threshold')->defaultValue(2000000)->end()
|
||||
@@ -69,11 +68,6 @@ class ZombieFactory implements DriverFactory
|
||||
$config['threshold'],
|
||||
$config['node_modules_path'],
|
||||
)),
|
||||
new Definition('Behat\Mink\Driver\NodeJS\Connection', array(
|
||||
$config['host'],
|
||||
$config['port'],
|
||||
)),
|
||||
$config['auto_server'],
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user