public function PdoSessionHandlerTest::testInexistentTable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest::testInexistentTable()
@expectedException \RuntimeException
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php, line 66
Class
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
public function testInexistentTable() {
$storage = new PdoSessionHandler($this
->getMemorySqlitePdo(), array(
'db_table' => 'inexistent_table',
));
$storage
->open('', 'sid');
$storage
->read('id');
$storage
->write('id', 'data');
$storage
->close();
}