Lint
This commit is contained in:
parent
e8ea411089
commit
77fe2cb101
2 changed files with 8 additions and 2 deletions
|
@ -462,7 +462,10 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testRedirectWithEmptyUrl()
|
public function testRedirectWithEmptyUrl()
|
||||||
{
|
{
|
||||||
$this->assertRequestIsServerError('redirect', ['url'=>'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC']);
|
$this->assertRequestIsServerError(
|
||||||
|
'redirect',
|
||||||
|
['url'=> 'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -488,7 +488,10 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testGetPlaylistArchiveStream()
|
public function testGetPlaylistArchiveStream()
|
||||||
{
|
{
|
||||||
$video = $this->download->getJSON('https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC', 'best');
|
$video = $this->download->getJSON(
|
||||||
|
'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC',
|
||||||
|
'best'
|
||||||
|
);
|
||||||
$this->assertStream($this->download->getPlaylistArchiveStream($video, 'best'));
|
$this->assertStream($this->download->getPlaylistArchiveStream($video, 'best'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue