public function LegacyPdoSessionHandlerTest::testGetConnection in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\LegacyPdoSessionHandlerTest::testGetConnection()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ LegacyPdoSessionHandlerTest.php, line 105
Class
- LegacyPdoSessionHandlerTest
- @group legacy
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
public function testGetConnection() {
$storage = new LegacyPdoSessionHandler($this->pdo, array(
'db_table' => 'sessions',
), array());
$method = new \ReflectionMethod($storage, 'getConnection');
$method
->setAccessible(true);
$this
->assertInstanceOf('\\PDO', $method
->invoke($storage));
}