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:
Andreas Fischer 2014-12-20 15:30:02 +01:00
parent 79c9fc98a6
commit 91e03f5845
1 changed files with 2 additions and 3 deletions

View File

@ -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();
} }