8000 [FrameworkBundle] Remove redundant check from test · symfony/symfony@4138e90 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4138e90

Browse files
HypeMCxabbuh
authored andcommitted
[FrameworkBundle] Remove redundant check from test
1 parent 4440c5d commit 4138e90

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php

Lines changed: 0 additions & 4 deletions BEA4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
use Symfony\Component\DependencyInjection\ContainerBuilder;
3939
use Symfony\Component\DependencyInjection\ContainerInterface;
4040
use Symfony\Component\DependencyInjection\Definition;
41-
use Symfony\Component\DependencyInjection\Exception\LogicException;
4241
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
4342
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
4443
use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
@@ -1930,9 +1929,6 @@ public function testHttpClientOverrideDefaultOptions()
19301929

19311930
public function testHttpClientRetry()
19321931
{
1933-
if (!class_exists(RetryableHttpClient::class)) {
1934-
$this->expectException(LogicException::class);
1935-
}
19361932
$container = $this->createContainerFromFile('http_client_retry');
19371933

19381934
$this->assertSame([429, 500 => ['GET', 'HEAD']], $container->getDefinition('http_client.retry_strategy')->getArgument(0));

0 commit comments

Comments
 (0)
0