public function NativeFileSessionHandlerTest::testConstructSavePath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeFileSessionHandlerTest::testConstructSavePath()
@dataProvider savePathDataProvider
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ NativeFileSessionHandlerTest.php, line 46
Class
- NativeFileSessionHandlerTest
- Test class for NativeFileSessionHandler.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
public function testConstructSavePath($savePath, $expectedSavePath, $path) {
$handler = new NativeFileSessionHandler($savePath);
$this
->assertEquals($expectedSavePath, ini_get('session.save_path'));
$this
->assertTrue(is_dir(realpath($path)));
rmdir($path);
}