protected function setUp() { ConnectionManager::registerConnections(['mysql' => ['driver' => 'mysql', 'host' => 'host', 'database' => 'database', 'username' => 'username', 'password' => 'password', 'charset' => 'charset']]); }
/** * Register the connections * @return array */ protected function setupConnection() { ConnectionManager::registerConnections($this->app->config->get('database.connections', [])); }