From 77fe2cb101be2268729eec13575e8b698fc4db7e Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 19 May 2017 14:30:59 +0200 Subject: [PATCH] Lint --- tests/FrontControllerTest.php | 5 ++++- tests/VideoDownloadTest.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/FrontControllerTest.php b/tests/FrontControllerTest.php index 55d1440..81e75b3 100644 --- a/tests/FrontControllerTest.php +++ b/tests/FrontControllerTest.php @@ -462,7 +462,10 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase */ public function testRedirectWithEmptyUrl() { - $this->assertRequestIsServerError('redirect', ['url'=>'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC']); + $this->assertRequestIsServerError( + 'redirect', + ['url'=> 'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC'] + ); } /** diff --git a/tests/VideoDownloadTest.php b/tests/VideoDownloadTest.php index 5227da1..8167b89 100644 --- a/tests/VideoDownloadTest.php +++ b/tests/VideoDownloadTest.php @@ -488,7 +488,10 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase */ public function testGetPlaylistArchiveStream() { - $video = $this->download->getJSON('https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC', 'best'); + $video = $this->download->getJSON( + 'https://www.youtube.com/playlist?list=PLgdySZU6KUXL_8Jq5aUkyNV7wCa-4wZsC', + 'best' + ); $this->assertStream($this->download->getPlaylistArchiveStream($video, 'best')); } }