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 using Factory::make or Factory::create null value is being assigned to 'id' attribute of object. When the query is being generated it looks like INSERT INTO ('id' ...) VALUES (null, ...) which causes Not Null violation.
I have to add if($key == 'id') continue;
to line 254 of Factory.php to make my tests work.
The text was updated successfully, but these errors were encountered:
When using Factory::make or Factory::create null value is being assigned to 'id' attribute of object. When the query is being generated it looks like INSERT INTO ('id' ...) VALUES (null, ...) which causes Not Null violation.
I have to add
if($key == 'id') continue;
to line 254 of Factory.php to make my tests work.
The text was updated successfully, but these errors were encountered: