You are here

public function SessionTest::testStart in Zircon Profile 8

Same name in this branch
  1. 8 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testStart()
  2. 8 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::testStart()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::testStart()

File

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

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testStart() {
  $this
    ->assertEquals('', $this->session
    ->getId());
  $this
    ->assertTrue($this->session
    ->start());
  $this
    ->assertNotEquals('', $this->session
    ->getId());
}