diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 18:19:23 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 18:19:23 +0200 |
commit | 66c73a96ac2dda076bcfe0dc0a1ca2a7e169149d (patch) | |
tree | dc0318fa459e4f313217ee38e4bc63524513d721 /tests/unit/service/ItemServiceTest.php | |
parent | f5e64d35c05b14016eb4fffff7199386a97a9b43 (diff) |
first try to set indention limit at 80 characters in php
Diffstat (limited to 'tests/unit/service/ItemServiceTest.php')
-rw-r--r-- | tests/unit/service/ItemServiceTest.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/unit/service/ItemServiceTest.php b/tests/unit/service/ItemServiceTest.php index b9f23fee6..4f5672e20 100644 --- a/tests/unit/service/ItemServiceTest.php +++ b/tests/unit/service/ItemServiceTest.php @@ -301,7 +301,9 @@ class ItemServiceTest extends \PHPUnit_Framework_TestCase { public function testStarDoesNotExist(){ - $this->setExpectedException('\OCA\News\Service\ServiceNotFoundException'); + $this->setExpectedException( + '\OCA\News\Service\ServiceNotFoundException' + ); $this->mapper->expects($this->once()) ->method('findByGuidHash') ->will($this->throwException(new DoesNotExistException(''))); @@ -377,9 +379,13 @@ class ItemServiceTest extends \PHPUnit_Framework_TestCase { $this->mapper->expects($this->once()) ->method('getNewestItemId') ->with($this->equalTo($this->user)) - ->will($this->throwException(new DoesNotExistException('There are no items'))); + ->will($this->throwException( + new DoesNotExistException('There are no items')) + ); - $this->setExpectedException('\OCA\News\Service\ServiceNotFoundException'); + $this->setExpectedException( + '\OCA\News\Service\ServiceNotFoundException' + ); $this->itemService->getNewestItemId($this->user); } |