Update some faker calls

This commit is contained in:
Marcus Moore 2023-03-16 16:38:21 -07:00
parent f47a28f790
commit 582c3b987b
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -39,7 +39,7 @@ class CompanyFactory extends Factory
public function definition()
{
return [
'name' => $this->faker->company,
'name' => $this->faker->company(),
];
}
}

View file

@ -22,7 +22,7 @@ class UserFactory extends Factory
'city' => $this->faker->city(),
'company_id' => Company::factory(),
'country' => $this->faker->country(),
'email' => $this->faker->safeEmail,
'email' => $this->faker->safeEmail(),
'employee_num' => $this->faker->numberBetween(3500, 35050),
'first_name' => $this->faker->firstName(),
'jobtitle' => $this->faker->jobTitle(),
@ -31,10 +31,10 @@ class UserFactory extends Factory
'notes' => 'Created by DB seeder',
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'permissions' => '{"user":"0"}',
'phone' => $this->faker->phoneNumber,
'state' => $this->faker->stateAbbr,
'username' => $this->faker->username,
'zip' => $this->faker->postcode,
'phone' => $this->faker->phoneNumber(),
'state' => $this->faker->stateAbbr(),
'username' => $this->faker->username(),
'zip' => $this->faker->postcode(),
];
}