<?php
/**
 *
 * @author malinink
 */

class ModelsFactoriesTest extends TestCase
{
    /**
     * Test User Factory
     *
     * @return void
     */
    public function testUserFactory()
    {
        $user = factory(App\User::class)->make();
        $user->save();
        $user->delete();
    }

    /**
     * Test GameType Factory
     *
     * @return void
     */
    public function testGameTypeFactory()
    {
        $gameType = factory(App\GameType::class)->make();
        $gameType->save();
        $gameType->delete();
    }
    
    /**
     * Test User Factory
     *
     * @return void
     */
    public function testGameFactory()
    {
        $game = factory(App\Game::class)->make();
        $game->save();
        $game->delete();
        /*
         * Delete related autogenerated models also
         */
        $game->gameType()->delete();
    }
}

<?php
/**
 *
 * @author malinink
 */

class ModelsFactoriesTest extends TestCase
{
    /**
     * Test User Factory
     *
     * @return void
     */
    public function testUserFactory()
    {
        $res=DB::table('users')->count();
        if ($res==0) {
            DB::statement('ALTER TABLE users AUTO_INCREMENT=1;');
        }
        $user = factory(App\User::class)->make();
        $user->save();
        $user->delete();
    }

    /**
     * Test GameType Factory
     *
     * @return void
     */
    public function testGameTypeFactory()
    {
        $res=DB::table('game_types')->count();
        if ($res==0) {
            DB::statement('ALTER TABLE game_types AUTO_INCREMENT=1;');
        }
        $gameType = factory(App\GameType::class)->make();
        $gameType->save();
        $gameType->delete();
    }
    
    /**
     * Test User Factory
     *
     * @return void
     */
    public function testGameFactory()
    {
        $res=DB::table('games')->count();
        if ($res==0) {
            DB::statement('ALTER TABLE games AUTO_INCREMENT=1;');
        }
        $game = factory(App\Game::class)->make();
        $game->save();
        $game->delete();
        /*
         * Delete related autogenerated models also
         */
        $game->gameType()->delete();
    }
    
    /**
     * Test UserIngameInfo Factory
     *
     * @return void
     */
    public function testUserIngameInfoFactory()
    {
        $res=DB::table('user_ingame_infos')->count();
        if ($res==0) {
            DB::statement('ALTER TABLE user_ingame_infos AUTO_INCREMENT=1;');
        }
        $user_ingame = factory(App\UserIngameInfo::class)->make();
        $user_ingame->save();
        $user_ingame->delete();
        /*
         * Delete related autogenerated models also
         */
        $user_ingame->gameType->delete();
        $user_ingame->user->delete();
    }
}

Add test for factory UserIngameInfo and fix autoincrement
Add test for factory UserIngameInfo and fix autoincrement
