Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaileu authored Oct 31, 2023
1 parent a747497 commit 8296165
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/DependencyInjection/OldSoundRabbitMqExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down Expand Up @@ -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());
}
Expand Down Expand Up @@ -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());
}
Expand Down Expand Up @@ -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());
}
Expand Down Expand Up @@ -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());
}
Expand Down

0 comments on commit 8296165

Please sign in to comment.