diff --git a/database/factories/BrandFactory.php b/database/factories/BrandFactory.php index 8acbea9..c0d5290 100644 --- a/database/factories/BrandFactory.php +++ b/database/factories/BrandFactory.php @@ -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() ]; } }