From 77071e2a8180c3d9654a544251b8f15df320a7b8 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Wed, 26 Aug 2020 08:01:06 -0700 Subject: [PATCH] Mark testDropsDatabaseWithActiveConnections() as incomplete on OraclePlatform --- .../Functional/Schema/SchemaManagerFunctionalTestCase.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php b/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php index 969e4451857..8895bb2a4c9 100644 --- a/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php @@ -94,10 +94,16 @@ protected function tearDown(): void public function testDropsDatabaseWithActiveConnections(): void { - if (! $this->schemaManager->getDatabasePlatform()->supportsCreateDropDatabase()) { + $platform = $this->schemaManager->getDatabasePlatform(); + + if (! $platform->supportsCreateDropDatabase()) { $this->markTestSkipped('Cannot drop Database client side with this Driver.'); } + if ($platform instanceof OraclePlatform) { + $this->markTestIncomplete('This functionality is not properly implemented in the Oracle platform.'); + } + $this->schemaManager->dropAndCreateDatabase('test_drop_database'); $knownDatabases = $this->schemaManager->listDatabases();