You are here

public function SessionTest::testSetId in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/SessionTest.php, line 64

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testSetId() {
  $this
    ->assertEquals('', $this->session
    ->getId());
  $this->session
    ->setId('0123456789abcdef');
  $this->session
    ->start();
  $this
    ->assertEquals('0123456789abcdef', $this->session
    ->getId());
}