public function LegacyPdoSessionHandlerTest::testWriteRead in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\LegacyPdoSessionHandlerTest::testWriteRead()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ LegacyPdoSessionHandlerTest.php, line 65
Class
- LegacyPdoSessionHandlerTest
- @group legacy
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
public function testWriteRead() {
$storage = new LegacyPdoSessionHandler($this->pdo, array(
'db_table' => 'sessions',
));
$storage
->write('foo', 'bar');
$this
->assertEquals('bar', $storage
->read('foo'), 'written value can be read back correctly');
}