Skip to content

Commit 820fc93

Browse files
committed
fix tests
1 parent fd0e39c commit 820fc93

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
@@ -43,6 +43,7 @@
4343
use Symfony\Component\DependencyInjection\Definition;
4444
use Symfony\Component\DependencyInjection\Exception\LogicException;
4545
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
46+
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
4647
use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
4748
use Symfony\Component\DependencyInjection\Reference;
4849
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -1760,7 +1761,7 @@ public function testCachePoolServices()
17601761
->replaceArgument(0, $expectedSeed)
17611762
->replaceArgument(1, 12),
17621763
(new ChildDefinition('cache.adapter.redis'))
1763-
->replaceArgument(0, new Reference('.cache_connection.kYdiLgf'))
1764+
->replaceArgument(0, new Reference('.cache_connection.'.(\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters()) > 2 ? 'U5HliuY' : 'kYdiLgf')))
17641765
->replaceArgument(1, $expectedSeed)
17651766
->replaceArgument(2, 12),
17661767
],

0 commit comments

Comments
 (0)