feat: proper faker
This commit is contained in:
parent
7cee091b6d
commit
7e1f1184fe
|
@ -16,8 +16,11 @@ class DatabaseSeeder extends Seeder
|
|||
// User::factory(10)->create();
|
||||
|
||||
User::factory()->create([
|
||||
'name' => 'Test User',
|
||||
'email' => 'test@example.com',
|
||||
'last_name' => fake()->lastName,
|
||||
'name' => fake()->name,
|
||||
'middle_name' => fake()->name(),
|
||||
'phone' => fake()->unique()->phoneNumber,
|
||||
'email' => fake()->unique()->safeEmail,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue