Fix exceptions handlers
This commit is contained in:
parent
32de2b39da
commit
5bae694f8e
2 changed files with 3 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\FFMpeg::extractImage
|
* @covers FFMpeg\FFMpeg::extractImage
|
||||||
* @expectedException \RuntimeException
|
* @expectedException \FFMpeg\Exception\LogicException
|
||||||
*/
|
*/
|
||||||
public function testExtractImageNoMovie()
|
public function testExtractImageNoMovie()
|
||||||
{
|
{
|
||||||
|
|
@ -64,7 +64,7 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\FFMpeg::encode
|
* @covers FFMpeg\FFMpeg::encode
|
||||||
* @expectedException \RuntimeException
|
* @expectedException \FFMpeg\Exception\LogicException
|
||||||
*/
|
*/
|
||||||
public function testEncode()
|
public function testEncode()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ class FFProbeTest extends \PHPUnit_Framework_TestCase
|
||||||
/**
|
/**
|
||||||
* @covers FFMpeg\FFProbe::probeStreams
|
* @covers FFMpeg\FFProbe::probeStreams
|
||||||
* @covers FFMpeg\FFProbe::executeProbe
|
* @covers FFMpeg\FFProbe::executeProbe
|
||||||
* @expectedException \RuntimeException
|
* @expectedException \FFMpeg\Exception\RuntimeException
|
||||||
*/
|
*/
|
||||||
public function testProbeStreamsInvalidFile()
|
public function testProbeStreamsInvalidFile()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue