alltube/tests/PlaylistArchiveStreamTest.php

32 lines
592 B
PHP
Raw Normal View History

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