database/seeders/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::factory()->create([
            'name'           => 'Test Admin',
            'email'          => 'test@test.com',
            'password'       => Hash::make('password'),
            'remember_token' => Str::random(10)
        ]);
    }
public function run ( ) { User :: factory ( ) -> create ( [ 'name' => 'Test Admin' , 'email' => 'test@test.com' , 'password' => Hash :: make ( 'password' ) , 'remember_token' => Str :: random ( 10 ) ] ) ; }
Run the database seeds.
Run the database seeds .