You are here

public function NativeSessionStorageTest::testExplicitSessionCacheLimiter in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php, line 141

Class

NativeSessionStorageTest
Test class for NativeSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

public function testExplicitSessionCacheLimiter() {
  $this
    ->iniSet('session.cache_limiter', 'nocache');
  $storage = new NativeSessionStorage(array(
    'cache_limiter' => 'public',
  ));
  $this
    ->assertEquals('public', ini_get('session.cache_limiter'));
}