Fix unit tests

This commit is contained in:
Robin Appelman 2014-04-10 13:54:50 +02:00
parent b4cee3d4e9
commit 4d7045e701

View file

@ -22,11 +22,11 @@ class Migrator extends \PHPUnit_Framework_TestCase {
private $tableName;
public function setUp() {
$this->connection = \OC_DB::getConnection();
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();
}
public function tearDown() {