From 8296165c6d17502f11cf1cf4656601bd840b479b Mon Sep 17 00:00:00 2001 From: mihaileu <54336101+mihaileu@users.noreply.github.com> Date: Tue, 31 Oct 2023 14:50:12 +0200 Subject: [PATCH] fixing tests --- Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php | 6 ++++++ 1 file changed, 6 insertions(+) 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()); }