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 27ba4b2

Browse filesBrowse files
committed
Merge branch '2.7' into 2.8
* 2.7: Fix the exception message expectation
2 parents dbb0ba8 + 0cef1ef commit 27ba4b2
Copy full SHA for 27ba4b2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎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.