Commit 4a4c35aa authored by Steve Müller's avatar Steve Müller

add functional driver test case for oci8 driver

parent 9e55dd60
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
use Doctrine\DBAL\Driver\OCI8\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
class DriverTest extends AbstractDriverTest
{
protected function setUp()
{
if (! extension_loaded('oci8')) {
$this->markTestSkipped('oci8 is not installed.');
}
parent::setUp();
if (! $this->_conn->getDriver() instanceof Driver) {
$this->markTestSkipped('oci8 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