module = 'install'; // Create database structure DBStructure::update(false, true, true); } else { $this->markTestSkipped('Could not connect to the database.'); } } return $this->createDefaultDBConnection(dba::get_db(), 'friendica_test:'); } /** * Get dataset to populate the database with. * @return YamlDataSet * @see https://phpunit.de/manual/5.7/en/database.html */ protected function getDataSet() { return new YamlDataSet(__DIR__ . '/datasets/api.yml'); } }