Skip to content

Commit 1a237e7

Browse files
committed
fix tests
1 parent 8fc60d7 commit 1a237e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/DependencyInjection/CompleteConfigurationTestCase.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Symfony\Component\DependencyInjection\Argument\IteratorArgument;
1919
use Symfony\Component\DependencyInjection\ContainerBuilder;
2020
use Symfony\Component\DependencyInjection\Definition;
21+
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
2122
use Symfony\Component\DependencyInjection\Reference;
2223
use Symfony\Component\HttpFoundation\RequestMatcher\AttributesRequestMatcher;
2324
use Symfony\Component\HttpFoundation\RequestMatcher\HostRequestMatcher;
@@ -137,7 +138,7 @@ public function testFirewalls()
137138
[
138139
'simple',
139140
'security.user_checker',
140-
'.security.request_matcher.h5ibf38',
141+
\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters()) > 2 ? '.security.request_matcher.rud_2nr' : '.security.request_matcher.h5ibf38',
141142
false,
142143
false,
143144
'',
@@ -187,7 +188,7 @@ public function testFirewalls()
187188
[
188189
'host',
189190
'security.user_checker',
190-
'.security.request_matcher.bcmu4fb',
191+
\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters()) > 2 ? '.security.request_matcher.ap9sh8g' : '.security.request_matcher.bcmu4fb',
191192
true,
192193
false,
193194
'security.user.provider.concrete.default',

0 commit comments

Comments
 (0)