diff --git a/database/factories/OrganisationFactory.php b/database/factories/OrganisationFactory.php index 0154a84..26a8ae6 100644 --- a/database/factories/OrganisationFactory.php +++ b/database/factories/OrganisationFactory.php @@ -35,6 +35,14 @@ public function definition() 'role' => fake()->jobTitle(), ]; + $contactPersonInTeams = [ + 'first_name' => fake()->firstName(), + 'last_name' => fake()->lastName(), + 'email' => fake()->unique()->safeEmail(), + 'phone' => fake()->phoneNumber(), + 'role' => fake()->jobTitle(), + ]; + $otherInfo = [ 'facebook' => fake()->boolean() ? 'https://www.facebook.com/#link' : null, 'website' => fake()->boolean() ? fake()->url() : null, @@ -60,6 +68,7 @@ public function definition() 'description' => fake()->sentence('10'), 'address' => fake()->address(), 'contact_person' => $contactPerson, + 'contact_person_in_teams' => $contactPersonInTeams, 'other_information' => $otherInfo, 'has_branches' => fake()->boolean(), 'city_id' => $city->id,