diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index faedf93..d653432 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -16,9 +16,8 @@ class UserFactory extends Factory public function definition(): array { return [ - 'name' => fake()->unique()->name(), - 'password' => static::$password ??= Hash::make('password'), - 'remember_token' => Str::random(10), + 'name' => Str::random(8), + 'password' => Hash::make('password'), ]; } }