Fix tests
This commit is contained in:
parent
1f521d8d62
commit
f431cb02b4
@ -24,6 +24,7 @@ $container->loadFromExtension('framework', array(
|
||||
'session' => array(
|
||||
'storage_id' => 'session.storage.native',
|
||||
'handler_id' => 'session.handler.native_file',
|
||||
'auto_start' => true,
|
||||
'on_demand_mode' => 'on',
|
||||
'name' => '_SYMFONY',
|
||||
'cookie_lifetime' => 86400,
|
||||
|
@ -18,6 +18,7 @@ framework:
|
||||
session:
|
||||
storage_id: session.storage.native
|
||||
handler_id: session.handler.native_file
|
||||
auto_start: true
|
||||
on_demand_mode: on
|
||||
name: _SYMFONY
|
||||
cookie_lifetime: 86400
|
||||
|
@ -98,7 +98,7 @@ abstract class FrameworkExtensionTest extends TestCase
|
||||
$this->assertEquals('session.handler.native_file', (string) $container->getAlias('session.handler'));
|
||||
|
||||
$this->assertTrue($container->getParameter('session.auto_start'));
|
||||
$this->assertEquals($container->getParameter('session.storage.on_demand_mode'), 1);
|
||||
$this->assertEquals($container->getParameter('session.storage.on_demand_mode'), 'on');
|
||||
|
||||
$options = $container->getParameter('session.storage.options');
|
||||
$this->assertEquals('_SYMFONY', $options['name']);
|
||||
|
Reference in New Issue
Block a user