Remove unused functions
This commit is contained in:
parent
ed7018c957
commit
c6c2214567
2 changed files with 1 additions and 68 deletions
|
@ -33,17 +33,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test getUA function
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testGetUA()
|
||||
{
|
||||
$this->assertStringStartsWith('Mozilla/', $this->download->getUA());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test listExtractors funtion
|
||||
* Test listExtractors function
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
@ -121,22 +111,6 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getFilename function
|
||||
*
|
||||
* @param string $url URL
|
||||
* @param string $format Format
|
||||
* @param string $result Expected filename
|
||||
*
|
||||
* @return void
|
||||
* @dataProvider URLProvider
|
||||
*/
|
||||
public function testGetFilename($url, $format, $result)
|
||||
{
|
||||
$filename = $this->download->getFilename($url, $format);
|
||||
$this->assertEquals($filename, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getJSON function
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue