->at($this->root)
->setContent($config);
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$console->setOption('f', 'prepared.ini.php');
$txt = $this->dumpExecute($console);
$this->assertTrue(putenv('FRIENDICA_LANG=de'));
$this->assertTrue(putenv('FRIENDICA_URL_PATH=/friendica'));
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$console->setOption('savedb', true);
$txt = $this->dumpExecute($console);
$this->assertTrue(putenv('FRIENDICA_LANG=de'));
$this->assertTrue(putenv('FRIENDICA_URL_PATH=/friendica'));
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$txt = $this->dumpExecute($console);
$this->mockExistsTable('user', false, 1);
$this->mockUpdate([false, true, true], null, 1);
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$console->setOption('dbhost', $this->db_host);
$console->setOption('dbuser', $this->db_user);
{
$this->mockConnect(false, 1);
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$txt = $this->dumpExecute($console);
HELP;
- $console = new AutomaticInstallation();
+ $console = new AutomaticInstallation($this->consoleArgv);
$console->setOption('help', true);
$txt = $this->dumpExecute($console);