Fix exceptions handlers

This commit is contained in:
Romain Neutron 2012-04-13 15:26:57 +02:00
commit 5bae694f8e
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase
/**
* @covers FFMpeg\FFMpeg::extractImage
* @expectedException \RuntimeException
* @expectedException \FFMpeg\Exception\LogicException
*/
public function testExtractImageNoMovie()
{
@ -64,7 +64,7 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase
/**
* @covers FFMpeg\FFMpeg::encode
* @expectedException \RuntimeException
* @expectedException \FFMpeg\Exception\LogicException
*/
public function testEncode()
{

View file

@ -40,7 +40,7 @@ class FFProbeTest extends \PHPUnit_Framework_TestCase
/**
* @covers FFMpeg\FFProbe::probeStreams
* @covers FFMpeg\FFProbe::executeProbe
* @expectedException \RuntimeException
* @expectedException \FFMpeg\Exception\RuntimeException
*/
public function testProbeStreamsInvalidFile()
{