alltube/tests/PlaylistArchiveStreamTest.php
2019-04-22 21:53:04 +02:00

27 lines
523 B
PHP

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