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
|
||||
* @expectedExceptionMessage The process timed-out.
|
||||
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
|
||||
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
|
||||
*/
|
||||
public function testRunProcessWithTimeout()
|
||||
{
|
||||
@ -801,8 +801,8 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Symfony\Component\Process\Exception\RuntimeException
|
||||
* @expectedExceptionMessage The process timed-out.
|
||||
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
|
||||
* @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
|
||||
*/
|
||||
public function testCheckTimeoutOnStartedProcess()
|
||||
{
|
||||
|
Reference in New Issue
Block a user