[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:
Dries Vints 2022-05-05 15:53:49 +02:00 committed by GitHub
parent 14b6505bba
commit 5c5a300bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,5 +15,10 @@ class DatabaseSeeder extends Seeder
public function run()
{
// \App\Models\User::factory(10)->create();
// \App\Models\User::factory()->create([
// 'name' => 'Test User',
// 'email' => 'test@example.com',
// ]);
}
}