From 4ee72d1629a1a53c20fdbae241dc3866056b8790 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Wed, 31 May 2017 00:57:39 +0200 Subject: [PATCH] Lint --- tests/FrontControllerTest.php | 2 +- tests/VideoDownloadTest.php | 6 +++--- tests/ViewFactoryTest.php | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/FrontControllerTest.php b/tests/FrontControllerTest.php index c61273a..6716cbc 100644 --- a/tests/FrontControllerTest.php +++ b/tests/FrontControllerTest.php @@ -497,7 +497,7 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase $this->controller->locale( $this->request, $this->response, - ['locale'=>'fr_FR'] + ['locale'=> 'fr_FR'] )->isRedirect() ); } diff --git a/tests/VideoDownloadTest.php b/tests/VideoDownloadTest.php index 8ad006d..ab3fa7d 100644 --- a/tests/VideoDownloadTest.php +++ b/tests/VideoDownloadTest.php @@ -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', ], diff --git a/tests/ViewFactoryTest.php b/tests/ViewFactoryTest.php index b173b97..552ed9f 100644 --- a/tests/ViewFactoryTest.php +++ b/tests/ViewFactoryTest.php @@ -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. *