We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2276b commit a6e70b9Copy full SHA for a6e70b9
src/Test/MakerTestDetails.php
@@ -144,6 +144,14 @@ public function configureDatabase(bool $createSchema = true): self
144
)
145
;
146
147
+ // Flex includes a recipe to suffix the dbname w/ "_test" - lets keep
148
+ // things simple for these tests and not do that.
149
+ $this->addReplacement(
150
+ 'config/packages/test/doctrine.yaml',
151
+ "dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
152
+ '')
153
+ ;
154
+
155
// this looks silly, but it's the only way to drop the database *for sure*,
156
// as doctrine:database:drop will error if there is no database
157
// also, skip for SQLITE, as it does not support --if-not-exists
0 commit comments