summaryrefslogtreecommitdiffstats
path: root/tests/unit/service/ServiceTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/service/ServiceTest.php')
-rw-r--r--tests/unit/service/ServiceTest.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/unit/service/ServiceTest.php b/tests/unit/service/ServiceTest.php
index 473141cd3..07f2d9452 100644
--- a/tests/unit/service/ServiceTest.php
+++ b/tests/unit/service/ServiceTest.php
@@ -75,7 +75,9 @@ class ServiceTest extends \PHPUnit_Framework_TestCase {
->method('find')
->will($this->throwException($ex));
- $this->setExpectedException('\OCA\News\Service\ServiceNotFoundException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceNotFoundException'
+ );
$this->newsService->find(1, '');
}
@@ -87,7 +89,9 @@ class ServiceTest extends \PHPUnit_Framework_TestCase {
->method('find')
->will($this->throwException($ex));
- $this->setExpectedException('\OCA\News\Service\ServiceNotFoundException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceNotFoundException'
+ );
$this->newsService->find(1, '');
}