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

Properly call parent::tearDown() in MDB2SchemaManager::tearDown().
This commit is contained in:
Thomas Müller 2014-12-21 20:29:03 +01:00
commit 97a17e3ffe

View file

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