diff options
Diffstat (limited to 'tests/lib/db/sqlitemigration.php')
-rw-r--r-- | tests/lib/db/sqlitemigration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db/sqlitemigration.php b/tests/lib/db/sqlitemigration.php index 3674d452bae..f23f4d4ee86 100644 --- a/tests/lib/db/sqlitemigration.php +++ b/tests/lib/db/sqlitemigration.php @@ -22,7 +22,7 @@ class TestSqliteMigration extends \Test\TestCase { protected function setUp() { parent::setUp(); - $this->connection = \OC_DB::getConnection(); + $this->connection = \OC::$server->getDatabaseConnection(); if (!$this->connection->getDatabasePlatform() instanceof \Doctrine\DBAL\Platforms\SqlitePlatform) { $this->markTestSkipped("Test only relevant on Sqlite"); } |