summaryrefslogtreecommitdiffstats
path: root/tests/lib/db/mdb2schemamanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/db/mdb2schemamanager.php')
-rw-r--r--tests/lib/db/mdb2schemamanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db/mdb2schemamanager.php b/tests/lib/db/mdb2schemamanager.php
index e194e701d84..470e385b858 100644
--- a/tests/lib/db/mdb2schemamanager.php
+++ b/tests/lib/db/mdb2schemamanager.php
@@ -24,7 +24,7 @@ class MDB2SchemaManager extends \Test\TestCase {
// do not drop the table for Oracle as it will create a bogus transaction
// that will break the following test suites requiring transactions
if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') !== 'oci') {
- \OC_DB::dropTable('table');
+ \OC::$server->getDatabaseConnection()->dropTable('table');
}
parent::tearDown();