8000 Update the tests to reflect that session & CRSF are automatically ena… · symfony/symfony@ec93d0f · GitHub
[go: up one dir, main page]

Skip to content

Commit ec93d0f

Browse files
srozenicolas-grekas
authored andcommitted
Update the tests to reflect that session & CRSF are automatically enabled when interfaces exists
1 parent 8a8ef52 commit ec93d0f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
</xsd:complexType>
104104

105105
<xsd:complexType name="session">
106+
<xsd:attribute name="enabled" type="xsd:boolean" />
106107
<xsd:attribute name="storage-id" type="xsd:string" />
107108
<xsd:attribute name="handler-id" type="xsd:string" />
108109
<xsd:attribute name="name" type="xsd:string" />

src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/ConcreteMicroKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
8181
$c->register('logger', NullLogger::class);
8282
$c->loadFromExtension('framework', array(
8383
'secret' => '$ecret',
84+
'csrf_protection' => false,
8485
));
8586

8687
$c->setParameter('halloween', 'Have a great day!');

0 commit comments

Comments
 (0)
0