diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 10:26:00 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 14:54:55 +0100 |
commit | 190cc2bb6762c5f505e1e90bd582caa4fecb9cce (patch) | |
tree | e758dbc6da9f106d07146838507988b6a7d9bda1 /tests/lib/repair/repairinnodb.php | |
parent | fddece9552a4b194cdce8c3916e33fa8597c9008 (diff) | |
download | nextcloud-server-190cc2bb6762c5f505e1e90bd582caa4fecb9cce.tar.gz nextcloud-server-190cc2bb6762c5f505e1e90bd582caa4fecb9cce.zip |
Remove OC_DB::getConnection
Diffstat (limited to 'tests/lib/repair/repairinnodb.php')
-rw-r--r-- | tests/lib/repair/repairinnodb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/repair/repairinnodb.php b/tests/lib/repair/repairinnodb.php index e7d2b83c224..5c73b931367 100644 --- a/tests/lib/repair/repairinnodb.php +++ b/tests/lib/repair/repairinnodb.php @@ -28,7 +28,7 @@ class RepairInnoDB 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\MySqlPlatform) { $this->markTestSkipped("Test only relevant on MySql"); } |