Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ac4cfe

Browse files
committed
minor #53546 [FrameworkBundle] Remove redundant check from test (HypeMC)
This PR was submitted for the 6.4 branch but it was merged into the 7.1 branch instead. Discussion ---------- [FrameworkBundle] Remove redundant check from test | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT This was overlooked in #49290. The check is no longer required since `symfony/framework-bundle` now conflicts with `symfony/http-client < 5.4` Commits ------- 4138e90 [FrameworkBundle] Remove redundant check from test
2 parents 4440c5d + 4138e90 commit 2ac4cfe

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
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)