summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/FeedApiControllerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 18:19:23 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 18:19:23 +0200
commit66c73a96ac2dda076bcfe0dc0a1ca2a7e169149d (patch)
treedc0318fa459e4f313217ee38e4bc63524513d721 /tests/unit/controller/FeedApiControllerTest.php
parentf5e64d35c05b14016eb4fffff7199386a97a9b43 (diff)
first try to set indention limit at 80 characters in php
Diffstat (limited to 'tests/unit/controller/FeedApiControllerTest.php')
-rw-r--r--tests/unit/controller/FeedApiControllerTest.php16
1 files changed, 12 insertions, 4 deletions
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);