public function ProcessBuilderTest::testShouldReturnProcessWithDisabledOutput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testShouldReturnProcessWithDisabledOutput()
 
File
- vendor/
symfony/ process/ Tests/ ProcessBuilderTest.php, line 197  
Class
Namespace
Symfony\Component\Process\TestsCode
public function testShouldReturnProcessWithDisabledOutput() {
  $process = ProcessBuilder::create(array(
    '/usr/bin/php',
  ))
    ->disableOutput()
    ->getProcess();
  $this
    ->assertTrue($process
    ->isOutputDisabled());
}