This commit is contained in:
Pierre Rudloff 2017-05-31 00:57:39 +02:00
parent 788e6e93b1
commit 4ee72d1629
3 changed files with 4 additions and 5 deletions

View file

@ -151,13 +151,13 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
return [ return [
[ [
'https://www.youtube.com/watch?v=M7IpKCZ47pU', 'best[protocol^=http]', 'https://www.youtube.com/watch?v=M7IpKCZ47pU', 'best[protocol^=http]',
"It_s_Not_Me_It_s_You_-_Hearts_Under_Fire-M7IpKCZ47pU", 'It_s_Not_Me_It_s_You_-_Hearts_Under_Fire-M7IpKCZ47pU',
'mp4', 'mp4',
'googlevideo.com', 'googlevideo.com',
], ],
[ [
'https://www.youtube.com/watch?v=RJJ6FCAXvKg', 22, 'https://www.youtube.com/watch?v=RJJ6FCAXvKg', 22,
"Heart_Attack_-_Demi_Lovato_". 'Heart_Attack_-_Demi_Lovato_'.
'Sam_Tsui_Against_The_Current-RJJ6FCAXvKg', 'Sam_Tsui_Against_The_Current-RJJ6FCAXvKg',
'mp4', 'mp4',
'googlevideo.com', 'googlevideo.com',
@ -193,7 +193,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
return [ return [
[ [
'https://www.youtube.com/watch?v=M7IpKCZ47pU', 'bestvideo+bestaudio', 'https://www.youtube.com/watch?v=M7IpKCZ47pU', 'bestvideo+bestaudio',
"It_s_Not_Me_It_s_You_-_Hearts_Under_Fire-M7IpKCZ47pU", 'It_s_Not_Me_It_s_You_-_Hearts_Under_Fire-M7IpKCZ47pU',
'mp4', 'mp4',
'googlevideo.com', 'googlevideo.com',
], ],

View file

@ -27,7 +27,6 @@ class ViewFactoryTest extends \PHPUnit_Framework_TestCase
$this->assertInstanceOf(Smarty::class, $view); $this->assertInstanceOf(Smarty::class, $view);
} }
/** /**
* Test the create() function with a X-Forwarded-Proto header. * Test the create() function with a X-Forwarded-Proto header.
* *