You are here

public function AbstractProxyTest::testNameExceptionPhp54 in Zircon Profile 8.0

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

@runInSeparateProcess @preserveGlobalState disabled @expectedException \LogicException

File

vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php, line 168

Class

AbstractProxyTest
Test class for AbstractProxy.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy

Code

public function testNameExceptionPhp54() {
  if (PHP_VERSION_ID < 50400) {
    $this
      ->markTestSkipped('Test skipped, for PHP 5.4 only.');
  }
  session_start();
  $this->proxy
    ->setName('foo');
}