From: Robin Appelman Date: Wed, 9 Apr 2014 11:00:32 +0000 (+0200) Subject: skip tests for oracle X-Git-Tag: v7.0.0alpha2~141^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4cee3d4e9a163b4f175dd82d132fc156d296316;p=nextcloud-server.git skip tests for oracle --- diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php index 31dc1c4951a..5d85bd98f31 100644 --- a/tests/lib/db/migrator.php +++ b/tests/lib/db/migrator.php @@ -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(); }