Skip to content

Commit

Permalink
Replace username() with userName()
Browse files Browse the repository at this point in the history
ensure consistency with FakerPHP
  • Loading branch information
realodix committed Jun 19, 2024
1 parent 92da45d commit b765978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit b765978

Please sign in to comment.