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
Hi is there any option to create more than one related entity. In example in your test you have User and Cat. Is there any option to create more than one Cat which is related to User. Something like: static::$fm->define(self::USER_ENTITY)->setDefinitions([ 'name' => Faker::firstNameMale(), 'email' => Faker::email(), 'cat' => 'entity[5]|'.self::CAT_ENTITY, ]);
Note [5] in entity creation definition.
The text was updated successfully, but these errors were encountered:
Hi is there any option to create more than one related entity. In example in your test you have User and Cat. Is there any option to create more than one Cat which is related to User. Something like:
static::$fm->define(self::USER_ENTITY)->setDefinitions([ 'name' => Faker::firstNameMale(), 'email' => Faker::email(), 'cat' => 'entity[5]|'.self::CAT_ENTITY, ]);
Note [5] in entity creation definition.
The text was updated successfully, but these errors were encountered: