From c1336bee325a7c67fe7b38f74d5feb0356317cfa Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Sat, 18 Jan 2014 11:13:51 +0100 Subject: [PATCH] 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 --- .../MinkExtension/ServiceContainer/Driver/ZombieFactory.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Behat/MinkExtension/ServiceContainer/Driver/ZombieFactory.php b/src/Behat/MinkExtension/ServiceContainer/Driver/ZombieFactory.php index 59cb5df..9bafc84 100644 --- a/src/Behat/MinkExtension/ServiceContainer/Driver/ZombieFactory.php +++ b/src/Behat/MinkExtension/ServiceContainer/Driver/ZombieFactory.php @@ -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'], )); } }