Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0cef1ef

Browse filesBrowse files
committed
Fix the exception message expectation
The message was changed between 2.3 and 2.7.
1 parent 237b13c commit 0cef1ef
Copy full SHA for 0cef1ef

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎src/Symfony/Component/Process/Tests/AbstractProcessTest.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/AbstractProcessTest.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ public function testRestart()
762762
}
763763

764764
/**
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.
767767
*/
768768
public function testRunProcessWithTimeout()
769769
{
@@ -801,8 +801,8 @@ public function testCheckTimeoutOnTerminatedProcess()
801801
}
802802

803803
/**
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.
806806
*/
807807
public function testCheckTimeoutOnStartedProcess()
808808
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.