Open dreamingmind opened 1 year ago
This seems to be related to #187 .
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?