Fix the exception message expectation
The message was changed between 2.3 and 2.7.
This commit is contained in:
parent
237b13c56c
commit
0cef1ef54c
@ -762,8 +762,8 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Symfony\Component\Process\Exception\RuntimeException
|
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
|
||||||
* @expectedExceptionMessage The process timed-out.
|
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
|
||||||
*/
|
*/
|
||||||
public function testRunProcessWithTimeout()
|
public function testRunProcessWithTimeout()
|
||||||
{
|
{
|
||||||
@ -801,8 +801,8 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Symfony\Component\Process\Exception\RuntimeException
|
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
|
||||||
* @expectedExceptionMessage The process timed-out.
|
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
|
||||||
*/
|
*/
|
||||||
public function testCheckTimeoutOnStartedProcess()
|
public function testCheckTimeoutOnStartedProcess()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user