Skip to content

Commit

Permalink
[9.x] Add specific test user in seeder (laravel#5879)
Browse files Browse the repository at this point in the history
* Update DatabaseSeeder.php

* formatting

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
driesvints and taylorotwell authored May 5, 2022
1 parent 14b6505 commit 5c5a300
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '[email protected]',
// ]);
}
}

0 comments on commit 5c5a300

Please sign in to comment.