alltube/tests/ConvertedPlaylistArchiveStr...

32 lines
637 B
PHP
Raw Normal View History

<?php
/**
* ConvertedPlaylistArchiveStreamTest class.
*/
namespace Alltube\Test;
use Alltube\Stream\ConvertedPlaylistArchiveStream;
use Alltube\Video;
2020-05-13 21:33:05 +02:00
use Exception;
/**
* Unit tests for the ConvertedPlaylistArchiveStream class.
* @requires download
*/
class ConvertedPlaylistArchiveStreamTest extends StreamTest
{
/**
* Prepare tests.
2020-05-13 21:33:05 +02:00
* @throws Exception
*/
2019-11-30 14:08:18 +01:00
protected function setUp(): void
{
parent::setUp();
$video = new Video('https://www.youtube.com/playlist?list=PL1j4Ff8cAqPu5iowaeUAY8lRgkfT4RybJ');
$this->stream = new ConvertedPlaylistArchiveStream($video);
}
}