Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Drak committed Apr 11, 2013
1 parent 1f521d8 commit f431cb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Expand Up @@ -24,6 +24,7 @@
'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,
Expand Down
Expand Up @@ -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
Expand Down
Expand Up @@ -98,7 +98,7 @@ public function testSession()
$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']);
Expand Down

0 comments on commit f431cb0

Please sign in to comment.