skip tests for oracle

This commit is contained in:
Robin Appelman 2014-04-09 13:00:32 +02:00
parent 3b4555ca91
commit b4cee3d4e9
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ class Migrator extends \PHPUnit_Framework_TestCase {
private $tableName;
public function setUp() {
if ($this->connection->getDriver() instanceof \Doctrine\DBAL\Driver\OCI8\Driver) {
$this->markTestSkipped('DB migration tests arent supported on OCI');
}
$this->tableName = 'test_' . uniqid();
$this->connection = \OC_DB::getConnection();
}