You are here

public function SessionTest::testMigrateDestroy in Zircon Profile 8

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

File

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

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testMigrateDestroy() {
  $this->session
    ->set('migrate', 333);
  $this->session
    ->migrate(true);
  $this
    ->assertEquals(333, $this->session
    ->get('migrate'));
}