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 @@ -23,7 +23,12 @@ public function getTestDetails()
2323 ])
2424 ->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
2525 ->configureDatabase ()
26- ->updateSchemaAfterCommand (),
26+ ->updateSchemaAfterCommand ()
27+ // workaround for a strange behavior where, every other
28+ // test run, the UniqueEntity would not be seen, because
29+ // the the validation cache was out of date. The cause
30+ // is currently unknown, so this workaround was added
31+ ->addPostMakeCommand ('php bin/console cache:clear --env=test ' )
2732 ];
2833
2934 // sanity check on all the interactive questions
@@ -51,7 +56,10 @@ public function getTestDetails()
5156 ])
5257 ->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
5358 ->configureDatabase ()
54- ->updateSchemaAfterCommand (),
59+ ->updateSchemaAfterCommand ()
60+ // workaround for strange failure - see test case
61+ // registration_form_entity_guard_authenticate for details
62+ ->addPostMakeCommand ('php bin/console cache:clear --env=test ' )
5563 ];
5664 }
5765}
You can’t perform that action at this time.
0 commit comments