Skip to content

Commit

Permalink
Mark testDropsDatabaseWithActiveConnections() as incomplete on Oracle…
Browse files Browse the repository at this point in the history
…Platform
  • Loading branch information
morozov committed Aug 26, 2020
1 parent 5c2a367 commit 77071e2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 77071e2

Please sign in to comment.