Rename FFMpeg\Media\Frame::saveAs to FFMpeg\Media\Frame::save

This commit is contained in:
Romain Neutron 2013-07-03 20:09:38 +02:00
commit 964da8a210
2 changed files with 5 additions and 5 deletions

View file

@ -56,9 +56,9 @@ class FrameTest extends AbstractMediaTestCase
}
/**
* @dataProvider provideSaveAsOptions
* @dataProvider provideSaveOptions
*/
public function testSaveAs($accurate, $commands)
public function testSave($accurate, $commands)
{
$driver = $this->getFFMpegDriverMock();
$ffprobe = $this->getFFProbeMock();
@ -76,10 +76,10 @@ class FrameTest extends AbstractMediaTestCase
->with($commands);
$frame = new Frame(__FILE__, $driver, $ffprobe, $timecode);
$this->assertSame($frame, $frame->saveAs($pathfile, $accurate));
$this->assertSame($frame, $frame->save($pathfile, $accurate));
}
public function provideSaveAsOptions()
public function provideSaveOptions()
{
return array(
array(false, array(