Update faker usage

This commit is contained in:
Vincent BRIDIER 2023-11-24 16:05:16 +01:00
parent cae0369710
commit 375aae50bf
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -25,15 +25,15 @@ class BrandFactory extends Factory
public function definition()
{
return [
'name' => $this->faker->unique()->company(),
'contact_mail' => $this->faker->unique()->email(),
'name' => fake()->unique()->company(),
'contact_mail' => fake()->unique()->email(),
'rcs' => \sprintf(
'RCS %s B %s',
$this->faker->unique()->city(),
$this->faker->randomNumber(9, true)
fake()->unique()->city(),
fake()->randomNumber(9, true)
),
'crm_token' => $this->faker->uuid(),
'crm_password' => $this->faker->uuid()
'crm_token' => fake()->uuid(),
'crm_password' => fake()->uuid()
];
}
}