diff options
Diffstat (limited to 'tests/lib/db/migrator.php')
-rw-r--r-- | tests/lib/db/migrator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php index a50c5f1b864..84a98c1e338 100644 --- a/tests/lib/db/migrator.php +++ b/tests/lib/db/migrator.php @@ -45,7 +45,7 @@ class Migrator extends \Test\TestCase { parent::setUp(); $this->config = \OC::$server->getConfig(); - $this->connection = \OC_DB::getConnection(); + $this->connection = \OC::$server->getDatabaseConnection(); if ($this->connection->getDatabasePlatform() instanceof OraclePlatform) { $this->markTestSkipped('DB migration tests are not supported on OCI'); } |