refactor: Use a StreamInterface for PlaylistArchiveStream
It is much cleaner
This commit is contained in:
parent
5cb8bc30b3
commit
f9bf3b8d47
9 changed files with 267 additions and 157 deletions
|
@ -110,21 +110,6 @@ class VideoDownloadStubsTest extends TestCase
|
|||
$this->download->getRemuxStream([$this->url, $this->url]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getPlaylistArchiveStream function with a buggy popen.
|
||||
*
|
||||
* @return void
|
||||
* @expectedException Exception
|
||||
*/
|
||||
public function testGetPlaylistArchiveStreamWithPopenError()
|
||||
{
|
||||
$video = $this->download->getJSON(
|
||||
'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC',
|
||||
'best'
|
||||
);
|
||||
$this->download->getPlaylistArchiveStream($video, 'best');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getConvertedStream function with a buggy popen.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue