/**
  * Creates the config.php file
  *
  * @return void
  */
 public function installDeploymentConfigAction()
 {
     /** @var \Zend\Console\Request $request */
     $request = $this->getRequest();
     $this->installer->checkInstallationFilePermissions();
     $this->installer->installDeploymentConfig($request->getParams());
 }
Exemplo n.º 2
0
 /**
  * @expectedException \Exception
  * @expectedExceptionMessage Missing write permissions to the following paths:
  */
 public function testCheckInstallationFilePermissionsError()
 {
     $this->filePermissions
         ->expects($this->once())
         ->method('getMissingWritablePathsForInstallation')
         ->willReturn(['foo', 'bar']);
     $this->object->checkInstallationFilePermissions();
 }