File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Symfony/Component/Process/Tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -762,8 +762,8 @@ public function testRestart()
762
762
}
763
763
764
764
/**
765
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
766
- * @expectedExceptionMessage The process timed-out .
765
+ * @expectedException \ Symfony\Component\Process\Exception\ProcessTimedOutException
766
+ * @expectedExceptionMessage exceeded the timeout of 0.5 seconds .
767
767
*/
768
768
public function testRunProcessWithTimeout ()
769
769
{
@@ -801,8 +801,8 @@ public function testCheckTimeoutOnTerminatedProcess()
801
801
}
802
802
803
803
/**
804
- * @expectedException Symfony\Component\Process\Exception\RuntimeException
805
- * @expectedExceptionMessage The process timed-out .
804
+ * @expectedException \ Symfony\Component\Process\Exception\ProcessTimedOutException
805
+ * @expectedExceptionMessage exceeded the timeout of 0.5 seconds .
806
806
*/
807
807
public function testCheckTimeoutOnStartedProcess ()
808
808
{
You can’t perform that action at this time.
0 commit comments