test: Test getAudioStream() with a playlist
This commit is contained in:
parent
edf4d4644d
commit
1d4a1ac65c
1 changed files with 11 additions and 0 deletions
|
@ -417,6 +417,17 @@ class VideoDownloadTest extends TestCase
|
|||
$this->download->getAudioStream('https://vimeo.com/251997032', 'bestaudio/best');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getAudioStream function with a playlist.
|
||||
*
|
||||
* @return void
|
||||
* @expectedException Exception
|
||||
*/
|
||||
public function testGetAudioStreamPlaylistError()
|
||||
{
|
||||
$this->download->getAudioStream('https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC', 'best');
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that a stream is valid.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue