Update faker usage
This commit is contained in:
parent
cae0369710
commit
375aae50bf
1 changed files with 6 additions and 6 deletions
|
|
@ -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()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue