public function boot(Application $app, ConfigContract &$appConfig)
    {
        // Setup test DB
        $appConfig->set('database.connections.' . $this->connection, $this->options);
        $appConfig->set('database.default', $this->connection);

        // Set database migration path EG: /mysite/database/
        $app->useDatabasePath($this->path);
    }
public function boot(Application $app, ConfigContract &$appConfig)
    {
        // Setup test DB
        $appConfig->set('database.connections.' . $this->connection, $this->options);
        $appConfig->set('database.default', $this->connection);

        // Set database migration path EG: /mysite/database/
        $app->useDatabasePath($this->path);
    }
public function boot ( Application $ app , ConfigContract & $ appConfig ) { // Setup test DB $ appConfig -> set ( 'database.connections.' . $ this -> connection , $ this -> options ) ; $ appConfig -> set ( 'database.default' , $ this -> connection ) ; // Set database migration path EG: /mysite/database/ $ app -> useDatabasePath ( $ this -> path ) ; }
Run setup component.

@return
Run setup component .