File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tests/Bridge/Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 78
78
use Symfony \Component \Config \FileLocator ;
79
79
use Symfony \Component \Config \Resource \DirectoryResource ;
80
80
use Symfony \Component \Config \Resource \ResourceInterface ;
81
+ use Symfony \Component \DependencyInjection \Alias ;
81
82
use Symfony \Component \DependencyInjection \ChildDefinition ;
82
83
use Symfony \Component \DependencyInjection \ContainerBuilder ;
83
84
use Symfony \Component \DependencyInjection \Definition ;
@@ -355,6 +356,7 @@ public function testEnableSecurity()
355
356
$ containerBuilderProphecy ->setAlias (ResourceAccessCheckerInterface::class, 'api_platform.security.resource_access_checker ' )->shouldBeCalled ();
356
357
$ containerBuilderProphecy ->setDefinition ('api_platform.security.listener.request.deny_access ' , Argument::type (Definition::class))->shouldBeCalled ();
357
358
$ containerBuilderProphecy ->setDefinition ('api_platform.security.expression_language_provider ' , Argument::type (Definition::class))->shouldBeCalled ();
359
+ $ containerBuilderProphecy ->setAlias ('api_platform.security.expression_language ' , Argument::type (Alias::class))->shouldBeCalled ();
358
360
$ containerBuilder = $ containerBuilderProphecy ->reveal ();
359
361
360
362
$ this ->extension ->load (self ::DEFAULT_CONFIG , $ containerBuilder );
You can’t perform that action at this time.
0 commit comments