diff --git a/Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php b/Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php index bb9e35ab..059acbd0 100644 --- a/Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php +++ b/Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php @@ -39,6 +39,8 @@ public function testFooConnectionDefinition() 'use_socket' => false, 'url' => '', 'hosts' => [], + 'channel_rpc_timeout' => 0.0 + ], $factory->getArgument(1)); $this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass()); } @@ -69,6 +71,7 @@ public function testSslConnectionDefinition() 'use_socket' => false, 'url' => '', 'hosts' => [], + 'channel_rpc_timeout' => 0.0 ], $factory->getArgument(1)); $this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass()); } @@ -97,6 +100,7 @@ public function testLazyConnectionDefinition() 'use_socket' => false, 'url' => '', 'hosts' => [], + 'channel_rpc_timeout' => 0.0 ], $factory->getArgument(1)); $this->assertEquals('%old_sound_rabbit_mq.lazy.connection.class%', $definition->getClass()); } @@ -125,6 +129,7 @@ public function testDefaultConnectionDefinition() 'use_socket' => false, 'url' => '', 'hosts' => [], + 'channel_rpc_timeout' => 0.0 ], $factory->getArgument(1)); $this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass()); } @@ -188,6 +193,7 @@ public function testClusterConnectionDefinition() 'heartbeat' => 0, 'use_socket' => false, 'url' => '', + 'channel_rpc_timeout' => 0.0 ], $factory->getArgument(1)); $this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass()); }