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(10)->create();
|
||||||
|
|
||||||
User::factory()->create([
|
User::factory()->create([
|
||||||
'name' => 'Test User',
|
'last_name' => fake()->lastName,
|
||||||
'email' => 'test@example.com',
|
'name' => fake()->name,
|
||||||
|
'middle_name' => fake()->name(),
|
||||||
|
'phone' => fake()->unique()->phoneNumber,
|
||||||
|
'email' => fake()->unique()->safeEmail,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue