/** * ItMergesDefaultSettingsIfExistingIniFileIsIncomplete * * @runInSeparateProcess * * @return void */ public function testItMergesDefaultSettingsIfExistingIniFileIsIncomplete() { define('PATH_site', __DIR__ . '/../Fixtures/RuntimeConfiguration/Partial'); $configuration = new RuntimeConfiguration(); $this->assertEquals(__DIR__ . '/../Fixtures/RuntimeConfiguration/Partial/phinx.yml', $configuration->getConfigFilePath()); $this->assertEquals(__DIR__ . '/../Fixtures/RuntimeConfiguration/Partial/migrations/', $configuration->getMigrationPath()); $this->assertEquals(__DIR__ . '/../Fixtures/RuntimeConfiguration/Partial/typo3temp/', $configuration->getLockPath()); }
/** * Gets the config file path. * * @return string */ public function getConfigFilePath() { return $this->runtimeConfiguration->getConfigFilePath(); }