-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flush from the seeInRepository method #14
Comments
I run into this too. No flush in my code -> my code is broken on production, but tests runs OK. |
I made a workaround.
tests/functional.suite.yml:
|
Because of this |
Hello. First of all, thank you for the great testing framework.
I would like to clarify how to use the
seeInRepository
method. I have read the documentation and can't understand why this method executes the doctrine's flush. I had a few cases when I had forgotten to add the flush in the app and had got green tests because of this behavior. Maybe the flush from this method is not a good idea?The text was updated successfully, but these errors were encountered: