use global functino

This commit is contained in:
Taylor Otwell 2022-06-22 11:02:43 -05:00
parent 1f9eee06dd
commit 0c3d1fabe5
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ class UserFactory extends Factory
public function definition()
{
return [
'name' => $this->faker->name(),
'email' => $this->faker->unique()->safeEmail(),
'name' => fake()->name(),
'email' => fake()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),