Properly call parent::tearDown() in MDB2SchemaManager::tearDown().
The early return introduced by 04c982a96e
prevents parent::tearDown() being called on Oracle.
This commit is contained in:
parent
79c9fc98a6
commit
91e03f5845
|
@ -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 New Issue