File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -735,7 +735,12 @@ function (string $output, string $directory) {
735
735
])
736
736
->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
737
737
->configureDatabase ()
738
- ->updateSchemaAfterCommand (),
738
+ ->updateSchemaAfterCommand ()
739
+ // workaround for a strange behavior where, every other
740
+ // test run, the UniqueEntity would not be seen, because
741
+ // the the validation cache was out of date. The cause
742
+ // is currently unknown, so this workaround was added
743
+ ->addPostMakeCommand ('APP_ENV=test php bin/console cache:clear ' )
739
744
];
740
745
741
746
// sanity check on all the interactive questions
@@ -763,7 +768,10 @@ function (string $output, string $directory) {
763
768
])
764
769
->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
765
770
->configureDatabase ()
766
- ->updateSchemaAfterCommand (),
771
+ ->updateSchemaAfterCommand ()
772
+ // workaround for strange failure - see test case
773
+ // registration_form_entity_guard_authenticate for details
774
+ ->addPostMakeCommand ('APP_ENV=test php bin/console cache:clear ' )
767
775
];
768
776
769
777
yield 'auth_login_form_user_entity_with_encoder_logout ' => [
You can’t perform that action at this time.
0 commit comments