14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Bundle \SecurityBundle \DataCollector \SecurityDataCollector ;
16
16
use Symfony \Bundle \SecurityBundle \Debug \TraceableFirewallListener ;
17
+ use Symfony \Bundle \SecurityBundle \DependencyInjection \MainConfiguration ;
17
18
use Symfony \Bundle \SecurityBundle \Security \FirewallConfig ;
18
19
use Symfony \Bundle \SecurityBundle \Security \FirewallMap ;
19
20
use Symfony \Component \EventDispatcher \EventDispatcher ;
24
25
use Symfony \Component \Security \Core \Authentication \Token \Storage \TokenStorage ;
25
26
use Symfony \Component \Security \Core \Authentication \Token \SwitchUserToken ;
26
27
use Symfony \Component \Security \Core \Authentication \Token \UsernamePasswordToken ;
27
- use Symfony \Component \Security \Core \Authorization \AccessDecisionManager ;
28
28
use Symfony \Component \Security \Core \Authorization \TraceableAccessDecisionManager ;
29
29
use Symfony \Component \Security \Core \Authorization \Voter \TraceableVoter ;
30
30
use Symfony \Component \Security \Core \Authorization \Voter \VoterInterface ;
@@ -228,7 +228,7 @@ public function providerCollectDecisionLog(): \Generator
228
228
$ decoratedVoter1 = new TraceableVoter ($ voter1 , $ eventDispatcher );
229
229
230
230
yield [
231
- AccessDecisionManager ::STRATEGY_AFFIRMATIVE ,
231
+ MainConfiguration ::STRATEGY_AFFIRMATIVE ,
232
232
[[
233
233
'attributes ' => ['view ' ],
234
234
'object ' => new \stdClass (),
@@ -252,7 +252,7 @@ public function providerCollectDecisionLog(): \Generator
252
252
];
253
253
254
254
yield [
255
- AccessDecisionManager ::STRATEGY_UNANIMOUS ,
255
+ MainConfiguration ::STRATEGY_UNANIMOUS ,
256
256
[
257
257
[
258
258
'attributes ' => ['view ' , 'edit ' ],
0 commit comments