Commit f6e708d2 authored by Steve Müller's avatar Steve Müller

add functional driver test case for PDO_OCI driver

parent 03aac225
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOOracle;
use Doctrine\DBAL\Driver\PDOOracle\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
class DriverTest extends AbstractDriverTest
{
protected function setUp()
{
if (! extension_loaded('PDO_OCI')) {
$this->markTestSkipped('PDO_OCI is not installed.');
}
parent::setUp();
if (! $this->_conn->getDriver() instanceof Driver) {
$this->markTestSkipped('PDO_OCI only test.');
}
}
/**
* {@inheritdoc}
*/
public function testConnectsWithoutDatabaseNameParameter()
{
$this->markTestSkipped('Oracle does not support connecting without database name.');
}
/**
* {@inheritdoc}
*/
public function testReturnsDatabaseNameWithoutDatabaseNameParameter()
{
$this->markTestSkipped('Oracle does not support connecting without database name.');
}
/**
* {@inheritdoc}
*/
protected function createDriver()
{
return new Driver();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment