Skip to content

Commit abc9ea0

Browse files
author
Youssef BENHSSAIEN
committed
#37245 unit test
1 parent 4d015d5 commit abc9ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ public function testSession()
440440
$this->assertEquals('fr', $container->getParameter('kernel.default_locale'));
441441
$this->assertEquals('session.storage.native', (string) $container->getAlias('session.storage'));
442442
$this->assertEquals('session.handler.native_file', (string) $container->getAlias('session.handler'));
443-
$this->assertEquals('session.handler', (string) $container->getAlias('SessionHandlerInterface'));
444443

445444
$options = $container->getParameter('session.storage.options');
446445
$this->assertEquals('_SYMFONY', $options['name']);
@@ -464,6 +463,7 @@ public function testNullSessionHandler()
464463
$this->assertTrue($container->hasDefinition('session'), '->registerSessionConfiguration() loads session.xml');
465464
$this->assertNull($container->getDefinition('session.storage.native')->getArgument(1));
466465
$this->assertNull($container->getDefinition('session.storage.php_bridge')->getArgument(0));
466+
$this->assertEquals('session.handler.native_file', (string) $container->getAlias('session.handler'));
467467
}
468468

469469
public function testRequest()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy