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
|
|
@ -35,7 +35,7 @@ class ClipTest extends AbstractMediaTestCase
|
|||
|
||||
$outputPathfile = '/target/file';
|
||||
|
||||
$format = $this->getMock('FFMpeg\Format\VideoInterface');
|
||||
$format = $this->getMockBuilder('FFMpeg\Format\VideoInterface')->getMock();
|
||||
$format->expects($this->any())
|
||||
->method('getPasses')
|
||||
->will($this->returnValue(1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue