Skip to content

Commit fc2b774

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: fix tests
2 parents f9fc7d3 + 820fc93 commit fc2b774

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/DependencyInjection/FrameworkExtensionTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
use Symfony\Component\DependencyInjection\Definition;
4141
use Symfony\Component\DependencyInjection\Exception\LogicException;
4242
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
43+
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
4344
use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
4445
use Symfony\Component\DependencyInjection\Reference;
4546
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -1693,7 +1694,7 @@ public function testCachePoolServices()
16931694
->replaceArgument(0, $expectedSeed)
16941695
->replaceArgument(1, 12),
16951696
(new ChildDefinition('cache.adapter.redis'))
1696-
->replaceArgument(0, new Reference('.cache_connection.kYdiLgf'))
1697+
->replaceArgument(0, new Reference('.cache_connection.'.(\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters()) > 2 ? 'U5HliuY' : 'kYdiLgf')))
16971698
->replaceArgument(1, $expectedSeed)
16981699
->replaceArgument(2, 12),
16991700
],

0 commit comments

Comments
 (0)