mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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
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