You are here

public function SessionTest::testMigrate 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::testMigrate()

File

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

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testMigrate() {
  $this->session
    ->set('migrate', 321);
  $this->session
    ->migrate();
  $this
    ->assertEquals(321, $this->session
    ->get('migrate'));
}