Fix unit tests
This commit is contained in:
parent
b4cee3d4e9
commit
4d7045e701
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue