diff --git a/tests/src/FFMpeg/Format/Video/DefaultVideoTest.php b/tests/src/FFMpeg/Format/Video/DefaultVideoTest.php index 9f50bf6..8ee49eb 100644 --- a/tests/src/FFMpeg/Format/Video/DefaultVideoTest.php +++ b/tests/src/FFMpeg/Format/Video/DefaultVideoTest.php @@ -163,6 +163,13 @@ class DefaultVideoTest extends \PHPUnit_Framework_TestCase $this->assertEquals(1000, $this->object->getKiloBitrate()); } + /** + * @covers FFMpeg\Format\Video\DefaultVideo::getExtraParams + */ + public function testGetExtraParams() + { + $this->assertTrue(is_array($this->object->getExtraParams())); + } } class DefaultVideoTester extends DefaultVideo @@ -188,7 +195,7 @@ class DefaultVideoTester extends DefaultVideo public function getExtraParams() { - return '-f format'; + return array('-f', 'format'); } } diff --git a/tests/src/FFMpeg/Format/Video/WebMTest.php b/tests/src/FFMpeg/Format/Video/WebMTest.php index 3506d24..bf7cc88 100644 --- a/tests/src/FFMpeg/Format/Video/WebMTest.php +++ b/tests/src/FFMpeg/Format/Video/WebMTest.php @@ -37,7 +37,7 @@ class WebMTest extends \PHPUnit_Framework_TestCase */ public function testGetExtraParams() { - $this->assertTrue(is_scalar($this->object->getExtraParams())); + $this->assertTrue(is_array($this->object->getExtraParams())); } }