コード例 #1
0
 /**
  * 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());
 }
コード例 #2
0
 /**
  * Gets the config file path.
  *
  * @return string
  */
 public function getConfigFilePath()
 {
     return $this->runtimeConfiguration->getConfigFilePath();
 }