public function SessionTest::testSetName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/SessionTest.php \Symfony\Component\HttpFoundation\Tests\Session\SessionTest::testSetName()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ SessionTest.php, line 72
Class
- SessionTest
- SessionTest.
Namespace
Symfony\Component\HttpFoundation\Tests\SessionCode
public function testSetName() {
$this
->assertEquals('MOCKSESSID', $this->session
->getName());
$this->session
->setName('session.test.com');
$this->session
->start();
$this
->assertEquals('session.test.com', $this->session
->getName());
}