You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a Factory to prepare some fixture data in a static data provider, the records are created in the default database rather than the testing database
Aliasing the connection as jamisonbryant suggested in his March 16 update to his issue helped, but didn't completely solve my issue.
Making the changes in bootstrap got me past a 1062 Duplicate entry '1741177057' for key error but records are still being written to the wrong db. That result is actually more confusing.
When I use a Factory to prepare some fixture data in a static data provider, the records are created in the default database rather than the testing database
This is the kind of thing I'm doing:
I'm struggling a little with this change to static data providers in general, so perhaps this is the wrong approach?
The text was updated successfully, but these errors were encountered: