tests/Feature/user/testUser.php
/**
     * A basic feature test example.
     *
     * @return void
     */
A basic feature test example.
@return void
A basic feature test example . @return void
public function testInsert()
    {
        $user = factory(User::class)->create();
        $this->assertDatabaseCount('users', 1);
Log::channel();
    }
public function testInsert ( ) { $ user = factory ( User :: class ) -> create ( ) ; $ this -> assertDatabaseCount ( 'users' , 1 ) ; Log :: channel ( ) ; }
A basic feature test example.
A basic feature test example .