-
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
Why flush is necesary on methods like grabFromRepository? #13
Comments
Here's a related issue: https://github.com/Codeception/Codeception/issues/5439 |
Because of this |
I have configured
Doctrine2
andSymfony
modules as follow:and I have created a helper to be used as part of my Functional tests as follow (snippet with relevant parts only):
from my test the code above is being called as:
But I end up with the following error:
from the error above lines 193 is:
I am not sure if the
flush
insidegrabEntitiesFromRepository
method is what is causing this or what could be the reason of it, true story is that I have been trying to debug this for hours without success so any help is more than welcome. What I am a missing here?The text was updated successfully, but these errors were encountered: