-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Fixture problems #12002
Comments
Looks like cleanup was not performed. |
Any idea why? |
I think it's happened due PK in the table. Just to deleting values is not help. We need do something like this on the table |
Could be because:
|
Check what's in database right after the error. |
Cleanup was performed properly, because table became is empty... except PK... |
What do you mean by "except PK"? Do you mean it starts not with 1 but with something else when auto-incrementing? If yes then there should be PK = 3 defined somewhere explicitly. I guess your culprit is in user fixture. Remove explicit ID and it should be fine. |
You're right, it was explicit ID in fixture... Thank you! |
What steps will reproduce the problem?
Load fixture and then clear it up(unload) and then again try to load it.
What is the expected result?
Reset table with refreshing PK.
What do you get instead?
Instead i getting an error:
Additional info
The text was updated successfully, but these errors were encountered: