summaryrefslogtreecommitdiffstats
path: root/tests/lib/db/connection.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/db/connection.php')
-rw-r--r--tests/lib/db/connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db/connection.php b/tests/lib/db/connection.php
index ab3b48b259f..348a5e31e09 100644
--- a/tests/lib/db/connection.php
+++ b/tests/lib/db/connection.php
@@ -40,7 +40,7 @@ class Connection extends \Test\TestCase {
protected static function dropTestTable()
{
if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') !== 'oci') {
- \OC_DB::dropTable('table');
+ \OC::$server->getDatabaseConnection()->dropTable('table');
}
}