Esempio n. 1
0
 /**
  * @requires OS Linux|Darwin
  * Do not test on Windows
  */
 public function testTestPrograms()
 {
     ob_start();
     $command = new Commands\Test\Programs();
     $command->setRequiredPrograms(['php' => 'sudo apt-get install php5-cli']);
     $command->execute();
     $this->assertNotContains('Error', ob_get_clean());
 }