summaryrefslogtreecommitdiffstats
path: root/tests/unit/service/FolderServiceTest.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/service/FolderServiceTest.php
parentf5e64d35c05b14016eb4fffff7199386a97a9b43 (diff)
first try to set indention limit at 80 characters in php
Diffstat (limited to 'tests/unit/service/FolderServiceTest.php')
-rw-r--r--tests/unit/service/FolderServiceTest.php16
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/unit/service/FolderServiceTest.php b/tests/unit/service/FolderServiceTest.php
index 53fb737b7..927cd1229 100644
--- a/tests/unit/service/FolderServiceTest.php
+++ b/tests/unit/service/FolderServiceTest.php
@@ -95,7 +95,9 @@ class FolderServiceTest extends \PHPUnit_Framework_TestCase {
->with($this->equalTo($folderName))
->will($this->returnValue($rows));
- $this->setExpectedException('\OCA\News\Service\ServiceConflictException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceConflictException'
+ );
$this->folderService->create($folderName, 'john', 3);
}
@@ -108,7 +110,9 @@ class FolderServiceTest extends \PHPUnit_Framework_TestCase {
->with($this->equalTo($folderName))
->will($this->returnValue([]));
- $this->setExpectedException('\OCA\News\Service\ServiceValidationException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceValidationException'
+ );
$this->folderService->create($folderName, 'john', 3);
}
@@ -162,7 +166,9 @@ class FolderServiceTest extends \PHPUnit_Framework_TestCase {
->with($this->equalTo($folderName))
->will($this->returnValue($rows));
- $this->setExpectedException('\OCA\News\Service\ServiceConflictException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceConflictException'
+ );
$this->folderService->rename(3, $folderName, 'john');
}
@@ -175,7 +181,9 @@ class FolderServiceTest extends \PHPUnit_Framework_TestCase {
->with($this->equalTo($folderName))
->will($this->returnValue([]));
- $this->setExpectedException('\OCA\News\Service\ServiceValidationException');
+ $this->setExpectedException(
+ '\OCA\News\Service\ServiceValidationException'
+ );
$this->folderService->rename(3, $folderName, 'john');
}