You are here

public function NativeFileSessionHandlerTest::testConstructDefault in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeFileSessionHandlerTest::testConstructDefault()

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php, line 74

Class

NativeFileSessionHandlerTest
Test class for NativeFileSessionHandler.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler

Code

public function testConstructDefault() {
  $path = ini_get('session.save_path');
  $storage = new NativeSessionStorage(array(
    'name' => 'TESTING',
  ), new NativeFileSessionHandler());
  $this
    ->assertEquals($path, ini_get('session.save_path'));
}