Skip to content
Snippets Groups Projects
Commit 97a17e3f authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #12981 from owncloud/MDB2SchemaManager-tearDown-Oracle

Properly call parent::tearDown() in MDB2SchemaManager::tearDown().
parents c3544bd2 91e03f58
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,9 @@ class MDB2SchemaManager extends \Test\TestCase {
protected function tearDown() {
// 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') {
return;
if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') !== 'oci') {
\OC_DB::dropTable('table');
}
\OC_DB::dropTable('table');
parent::tearDown();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment