Skip to content

Commit 8296165

Browse files
authored
fixing tests
1 parent a747497 commit 8296165

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function testFooConnectionDefinition()
3939
'use_socket' => false,
4040
'url' => '',
4141
'hosts' => [],
42+
'channel_rpc_timeout' => 0.0
43+
4244
], $factory->getArgument(1));
4345
$this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass());
4446
}
@@ -69,6 +71,7 @@ public function testSslConnectionDefinition()
6971
'use_socket' => false,
7072
'url' => '',
7173
'hosts' => [],
74+
'channel_rpc_timeout' => 0.0
7275
], $factory->getArgument(1));
7376
$this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass());
7477
}
@@ -97,6 +100,7 @@ public function testLazyConnectionDefinition()
97100
'use_socket' => false,
98101
'url' => '',
99102
'hosts' => [],
103+
'channel_rpc_timeout' => 0.0
100104
], $factory->getArgument(1));
101105
$this->assertEquals('%old_sound_rabbit_mq.lazy.connection.class%', $definition->getClass());
102106
}
@@ -125,6 +129,7 @@ public function testDefaultConnectionDefinition()
125129
'use_socket' => false,
126130
'url' => '',
127131
'hosts' => [],
132+
'channel_rpc_timeout' => 0.0
128133
], $factory->getArgument(1));
129134
$this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass());
130135
}
@@ -188,6 +193,7 @@ public function testClusterConnectionDefinition()
188193
'heartbeat' => 0,
189194
'use_socket' => false,
190195
'url' => '',
196+
'channel_rpc_timeout' => 0.0
191197
], $factory->getArgument(1));
192198
$this->assertEquals('%old_sound_rabbit_mq.connection.class%', $definition->getClass());
193199
}

0 commit comments

Comments
 (0)