From b4cee3d4e9a163b4f175dd82d132fc156d296316 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 9 Apr 2014 13:00:32 +0200 Subject: [PATCH] skip tests for oracle --- tests/lib/db/migrator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php index 31dc1c4951..5d85bd98f3 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(); }