Skip to content

Commit e7cbdd1

Browse files
committed
📦 Don't enable security bundle with no configs - deprecated since Symfony 6.3
1 parent 0294178 commit e7cbdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/GraphQLiteTestingKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function __construct(bool $enableSession = true,
8787
public function registerBundles(): iterable
8888
{
8989
$bundles = [ new FrameworkBundle() ];
90-
if (class_exists(SecurityBundle::class)) {
90+
if ($this->enableSecurity && class_exists(SecurityBundle::class)) {
9191
$bundles[] = new SecurityBundle();
9292
}
9393
$bundles[] = new GraphQLiteBundle();

0 commit comments

Comments
 (0)