public function SessionTest::testInvalidate 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::testInvalidate()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ SessionTest.php, line 154
Class
- SessionTest
- SessionTest.
Namespace
Symfony\Component\HttpFoundation\Tests\SessionCode
public function testInvalidate() {
$this->session
->set('invalidate', 123);
$this->session
->invalidate();
$this
->assertEquals(array(), $this->session
->all());
}