You are here

public function ProcessBuilderTest::testShouldReturnProcessWithEnabledOutput in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testShouldReturnProcessWithEnabledOutput()

File

vendor/symfony/process/Tests/ProcessBuilderTest.php, line 206

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

public function testShouldReturnProcessWithEnabledOutput() {
  $process = ProcessBuilder::create(array(
    '/usr/bin/php',
  ))
    ->disableOutput()
    ->enableOutput()
    ->getProcess();
  $this
    ->assertFalse($process
    ->isOutputDisabled());
}