Skip to content

Commit fccf8b5

Browse files
committed
minor symfony#10483 [2.3][Process] Fix unit tests in sigchild disabled environment (romainneutron)
This PR was merged into the 2.3 branch. Discussion ---------- [2.3][Process] Fix unit tests in sigchild disabled environment | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT We've been a bit fast when merging symfony#10480 and tests were broken in the last update I did. Commits ------- 5f6ee12 [Process] Fix unit tests in sigchild disabled environment
2 parents c57fbda + 5f6ee12 commit fccf8b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ public function testExitCodeText()
133133
$process->getExitCodeText();
134134
}
135135

136+
/**
137+
* @expectedException \Symfony\Component\Process\Exception\RuntimeException
138+
* @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
139+
*/
140+
public function testExitCodeTextIsNullWhenExitCodeIsNull()
141+
{
142+
parent::testExitCodeTextIsNullWhenExitCodeIsNull();
143+
}
144+
136145
/**
137146
* @expectedException \Symfony\Component\Process\Exception\RuntimeException
138147
* @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.

0 commit comments

Comments
 (0)