28 lines
568 B
PHP
28 lines
568 B
PHP
|
<?php
|
||
|
/**
|
||
|
* ConvertedPlaylistArchiveStreamTest class.
|
||
|
*/
|
||
|
|
||
|
namespace Alltube\Test;
|
||
|
|
||
|
use Alltube\Stream\ConvertedPlaylistArchiveStream;
|
||
|
use Alltube\Video;
|
||
|
|
||
|
/**
|
||
|
* Unit tests for the ConvertedPlaylistArchiveStream class.
|
||
|
*/
|
||
|
class ConvertedPlaylistArchiveStreamTest extends StreamTest
|
||
|
{
|
||
|
/**
|
||
|
* Prepare tests.
|
||
|
*/
|
||
|
protected function setUp()
|
||
|
{
|
||
|
parent::setUp();
|
||
|
|
||
|
$video = new Video('https://www.youtube.com/playlist?list=PL1j4Ff8cAqPu5iowaeUAY8lRgkfT4RybJ');
|
||
|
|
||
|
$this->stream = new ConvertedPlaylistArchiveStream($video);
|
||
|
}
|
||
|
}
|