Skip to content

Commit 5328c4b

Browse files
committed
fixed tests on old PHP versions
1 parent fea98a8 commit 5328c4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,11 @@ public function testNullSessionHandler()
474474
$this->assertNull($container->getDefinition('session.storage.php_bridge')->getArgument(0));
475475
}
476476

477+
/**
478+
* @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
479+
*/
477480
public function testNullSessionHandlerWithSavePath()
478481
{
479-
$this->expectException(InvalidConfigurationException::class);
480482
$this->createContainerFromFile('session_savepath');
481483
}
482484

0 commit comments

Comments
 (0)