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 ;
@@ -231,7 +231,7 @@ public function providerCollectDecisionLog(): \Generator
231
231
$ decoratedVoter1 = new TraceableVoter ($ voter1 , $ eventDispatcher );
232
232
233
233
yield [
234
- AccessDecisionManager ::STRATEGY_AFFIRMATIVE ,
234
+ MainConfiguration ::STRATEGY_AFFIRMATIVE ,
235
235
[[
236
236
'attributes ' => ['view ' ],
237
237
'object ' => new \stdClass (),
@@ -255,7 +255,7 @@ public function providerCollectDecisionLog(): \Generator
255
255
];
256
256
257
257
yield [
258
- AccessDecisionManager ::STRATEGY_UNANIMOUS ,
258
+ MainConfiguration ::STRATEGY_UNANIMOUS ,
259
259
[
260
260
[
261
261
'attributes ' => ['view ' , 'edit ' ],
0 commit comments