alltube/tests/PlaylistArchiveStreamTest.php
2019-11-30 14:09:12 +01:00

29 lines
552 B
PHP

<?php
/**
* PlaylistArchiveStreamTest class.
*/
namespace Alltube\Test;
use Alltube\Stream\PlaylistArchiveStream;
use Alltube\Video;
/**
* Unit tests for the PlaylistArchiveStream class.
* @requires download
*/
class PlaylistArchiveStreamTest extends StreamTest
{
/**
* Prepare tests.
*/
protected function setUp(): void
{
parent::setUp();
$video = new Video('https://www.youtube.com/playlist?list=PL1j4Ff8cAqPu5iowaeUAY8lRgkfT4RybJ');
$this->stream = new PlaylistArchiveStream($video);
}
}