[9.x] Add specific test user in seeder (#5879)
* Update DatabaseSeeder.php * formatting Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
parent
14b6505bba
commit
5c5a300bfd
|
|
@ -15,5 +15,10 @@ class DatabaseSeeder extends Seeder
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
// \App\Models\User::factory(10)->create();
|
// \App\Models\User::factory(10)->create();
|
||||||
|
|
||||||
|
// \App\Models\User::factory()->create([
|
||||||
|
// 'name' => 'Test User',
|
||||||
|
// 'email' => 'test@example.com',
|
||||||
|
// ]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue