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()
23
23
])
24
24
->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
25
25
->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 ' )
27
32
];
28
33
29
34
// sanity check on all the interactive questions
@@ -51,7 +56,10 @@ public function getTestDetails()
51
56
])
52
57
->setFixtureFilesPath (__DIR__ .'/../fixtures/MakeRegistrationFormEntity ' )
53
58
->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 ' )
55
63
];
56
64
}
57
65
}
You can’t perform that action at this time.
0 commit comments