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

@ -497,7 +497,7 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
$this->controller->locale(
$this->request,
$this->response,
['locale'=>'fr_FR']
['locale'=> 'fr_FR']
)->isRedirect()
);
}

View file

@ -151,13 +151,13 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
return [
[
'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',
'googlevideo.com',
],
[
'https://www.youtube.com/watch?v=RJJ6FCAXvKg', 22,
"Heart_Attack_-_Demi_Lovato_".
'Heart_Attack_-_Demi_Lovato_'.
'Sam_Tsui_Against_The_Current-RJJ6FCAXvKg',
'mp4',
'googlevideo.com',
@ -193,7 +193,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
return [
[
'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',
'googlevideo.com',
],

View file

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