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() {
|
protected function tearDown() {
|
||||||
// do not drop the table for Oracle as it will create a bogus transaction
|
// do not drop the table for Oracle as it will create a bogus transaction
|
||||||
// that will break the following test suites requiring transactions
|
// that will break the following test suites requiring transactions
|
||||||
if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
|
if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') !== 'oci') {
|
||||||
return;
|
\OC_DB::dropTable('table');
|
||||||
}
|
}
|
||||||
\OC_DB::dropTable('table');
|
|
||||||
|
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue