Fix mocking of objects for newer phpunit version
This commit is contained in:
parent
89b0c2b4d0
commit
537f61095f
29 changed files with 87 additions and 84 deletions
|
|
@ -101,7 +101,7 @@ abstract class AudioTestCase extends TestCase
|
|||
|
||||
public function testCreateProgressListener()
|
||||
{
|
||||
$media = $this->getMock('FFMpeg\Media\MediaTypeInterface');
|
||||
$media = $this->getMockBuilder('FFMpeg\Media\MediaTypeInterface')->getMock();
|
||||
$media->expects($this->any())
|
||||
->method('getPathfile')
|
||||
->will($this->returnValue(__FILE__));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue