public function testRun() { $app = $this->getApp(); $action = new InstallPackage($app); $result = $action->execute(); $this->assertEquals(0, $result); }
/** * Install configured packages. * * @return integer 0 on success or a positive error code on failure */ public function installPackages() { if (!$this->install) { $this->install = new InstallPackage($this->app); } // 0 on success or a positive error code on failure return $this->install->execute(); }