minor #17176 [Process] Fix a transient test (nicolas-grekas)
This PR was merged into the 2.7 branch.
Discussion
----------
[Process] Fix a transient test
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #15617
| License | MIT
| Doc PR | -
Commits
-------
7e2c67c
[Process] Fix a transient test
This commit is contained in:
commit
9305aab3e0
@ -193,7 +193,7 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
|
|||||||
fwrite($stream, $expected);
|
fwrite($stream, $expected);
|
||||||
rewind($stream);
|
rewind($stream);
|
||||||
|
|
||||||
$p = $this->getProcess(sprintf('%s -r %s', self::$phpBin, escapeshellarg($code)), null, null, null, 5);
|
$p = $this->getProcess(sprintf('%s -r %s', self::$phpBin, escapeshellarg($code)));
|
||||||
$p->setInput($stream);
|
$p->setInput($stream);
|
||||||
$p->run();
|
$p->run();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user