diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index aeee52596..9c93c57b0 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -35,7 +35,7 @@ class UserFactory extends Factory public function definition(): array { return [ - 'name' => fake()->username(), + 'name' => fake()->userName(), 'email' => fake()->unique()->safeEmail(), 'email_verified_at' => now(), 'password' => static::$password ??= Hash::make('password'),