alltube/tests/PlaylistArchiveStreamTest.php

30 lines
546 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;
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.
*/
protected function setUp()
{
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
}
}