Example #1
0
 public function testInstall()
 {
     $this->_shell->expects($this->at(1))->method('execute')->with('php -f %s -- --option1 %s --option2 %s --url %s --secure_base_url %s --admin_frontname %s --admin_username %s --admin_password %s', array($this->_installerScript, 'value 1', 'value 2', 'http://127.0.0.1/', 'http://127.0.0.1/', 'backend', 'admin', 'password1'));
     $this->_object->expects($this->once())->method('_reindex');
     $this->_object->expects($this->once())->method('_updateFilesystemPermissions');
     $this->_object->install();
 }