/** * 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 path of the migration files. * * @return string */ public function getMigrationPath() { return $this->runtimeConfiguration->getMigrationPath(); }