Skip to content

Commit aae6815

Browse files
committed
Fixing env change that doesn't work on windows
1 parent b9b020b commit aae6815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Maker/FunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ function (string $output, string $directory) {
740740
// test run, the UniqueEntity would not be seen, because
741741
// the the validation cache was out of date. The cause
742742
// is currently unknown, so this workaround was added
743-
->addPostMakeCommand('APP_ENV=test php bin/console cache:clear')
743+
->addPostMakeCommand('php bin/console cache:clear --env=test')
744744
];
745745

746746
// sanity check on all the interactive questions
@@ -771,7 +771,7 @@ function (string $output, string $directory) {
771771
->updateSchemaAfterCommand()
772772
// workaround for strange failure - see test case
773773
// registration_form_entity_guard_authenticate for details
774-
->addPostMakeCommand('APP_ENV=test php bin/console cache:clear')
774+
->addPostMakeCommand('php bin/console cache:clear --env=test')
775775
];
776776

777777
yield 'auth_login_form_user_entity_with_encoder_logout' => [

0 commit comments

Comments
 (0)