Fix PhpUnit tests for newer php version
This commit is contained in:
parent
537f61095f
commit
14dc6a8b1b
21 changed files with 48 additions and 40 deletions
|
|
@ -42,10 +42,10 @@ class FFMpegDriverTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @expectedException FFMpeg\Exception\ExecutableNotFoundException
|
||||
*/
|
||||
public function testCreateFailureThrowsAnException()
|
||||
{
|
||||
$this->expectException('\FFMpeg\Exception\ExecutableNotFoundException');
|
||||
FFMpegDriver::create($this->getLoggerMock(), array('ffmpeg.binaries' => '/path/to/nowhere'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,10 +42,10 @@ class FFProbeDriverTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @expectedException FFMpeg\Exception\ExecutableNotFoundException
|
||||
*/
|
||||
public function testCreateFailureThrowsAnException()
|
||||
{
|
||||
$this->expectException('\FFMpeg\Exception\ExecutableNotFoundException');
|
||||
FFProbeDriver::create(array('ffprobe.binaries' => '/path/to/nowhere'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue