From 66c73a96ac2dda076bcfe0dc0a1ca2a7e169149d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 21 Oct 2014 18:19:23 +0200 Subject: first try to set indention limit at 80 characters in php --- tests/unit/controller/FeedApiControllerTest.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'tests/unit/controller/FeedApiControllerTest.php') diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php index d14782856..c73f49288 100644 --- a/tests/unit/controller/FeedApiControllerTest.php +++ b/tests/unit/controller/FeedApiControllerTest.php @@ -135,7 +135,9 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { public function testDeleteDoesNotExist() { $this->feedService->expects($this->once()) ->method('delete') - ->will($this->throwException(new ServiceNotFoundException($this->msg))); + ->will($this->throwException( + new ServiceNotFoundException($this->msg)) + ); $response = $this->feedAPI->delete(2); @@ -203,7 +205,9 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { ->with($this->equalTo($this->user), $this->equalTo(false)); $this->feedService->expects($this->once()) ->method('create') - ->will($this->throwException(new ServiceConflictException($this->msg))); + ->will( + $this->throwException(new ServiceConflictException($this->msg)) + ); $response = $this->feedAPI->create('ho', 3); @@ -216,7 +220,9 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { public function testCreateError() { $this->feedService->expects($this->once()) ->method('create') - ->will($this->throwException(new ServiceNotFoundException($this->msg))); + ->will( + $this->throwException(new ServiceNotFoundException($this->msg)) + ); $response = $this->feedAPI->create('ho', 3); @@ -253,7 +259,9 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { public function testMoveDoesNotExist() { $this->feedService->expects($this->once()) ->method('move') - ->will($this->throwException(new ServiceNotFoundException($this->msg))); + ->will( + $this->throwException(new ServiceNotFoundException($this->msg)) + ); $response = $this->feedAPI->move(3, 4); -- cgit v1.2.3