public function setUp() { parent::setUp(); foreach (UserRole::values() as $userRole) { factory(User::class, 10)->create(['role' => $userRole]); } }
public function setUp() { parent::setUp(); $this->fragments = (new FragmentSeeder())->seedRandomFragments(10); }