8000 Merge branch '3.0' · symfony/symfony@c3b60a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3b60a9

Browse files
committed
Merge branch '3.0'
* 3.0: Fix the exception message expectation
2 parents d859e0e + 05aff6a commit c3b60a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ public function testRestart()
744744
}
745745

746746
/**
747-
* @expectedException Symfony\Component\Process\Exception\RuntimeException
748-
* @expectedExceptionMessage The process timed-out.
747+
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
748+
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
749749
*/
750750
public function testRunProcessWithTimeout()
751751
{
@@ -783,8 +783,8 @@ public function testCheckTimeoutOnTerminatedProcess()
783783
}
784784

785785
/**
786-
* @expectedException Symfony\Component\Process\Exception\RuntimeException
787-
* @expectedExceptionMessage The process timed-out.
786+
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
787+
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
788788
*/
789789
public function testCheckTimeoutOnStartedProcess()
790790
{

0 commit comments

Comments
 (0)
0