Merge pull request #12981 from owncloud/MDB2SchemaManager-tearDown-Oracle
Properly call parent::tearDown() in MDB2SchemaManager::tearDown().
This commit is contained in:
commit
97a17e3ffe
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue