Smal fixes with playlists

This commit is contained in:
Pierre Rudloff 2017-04-25 11:05:49 +02:00
parent 554dd14edd
commit 7428b334de
4 changed files with 40 additions and 6 deletions

View file

@ -179,6 +179,20 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
$this->assertTrue($result->isOk());
}
/**
* Test the video() function with a video that does not have a title.
*
* @return void
*/
public function testVideoWithoutTitle()
{
$result = $this->controller->video(
$this->request->withQueryParams(['url'=>'http://html5demos.com/video']),
$this->response
);
$this->assertTrue($result->isOk());
}
/**
* Test the video() function with audio conversion.
*