Skip to content

Commit

Permalink
dont create the schema in make:migration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Feb 5, 2024
1 parent 6b72268 commit 2faf253
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Test/MakerTestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ public function configureDatabase(bool $createSchema = true): void
// make sure the database doesn't exist...
$this->runConsole('doctrine:database:drop', [], '--env=test --force');

// create the schema
$this->runConsole('doctrine:schema:create', [], '--env=test');
if ($createSchema) {
// create the schema
$this->runConsole('doctrine:schema:create', [], '--env=test');
}

return;
}
Expand Down

0 comments on commit 2faf253

Please sign in to comment.