Skip to content

Commit 0fcde9e

Browse files
committed
fixed tests on old PHP versions
1 parent 90c591f commit 0fcde9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 3 additions & 1 deletion
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)