diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-10 11:16:32 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-10 11:16:32 +0100 |
commit | 99cc7013f93d7233b20e3dfee945c4660263a05a (patch) | |
tree | 66cc3c103a06a7dd13e6e5d823b553e274cd24b4 /tests/controller | |
parent | 2d293fea4328123f9d20a73f8d1bac79e746c9bd (diff) |
spaces to tabs
Diffstat (limited to 'tests/controller')
-rw-r--r-- | tests/controller/FolderControllerTest.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/controller/FolderControllerTest.php b/tests/controller/FolderControllerTest.php index 1381f8916..a9eb85e9e 100644 --- a/tests/controller/FolderControllerTest.php +++ b/tests/controller/FolderControllerTest.php @@ -148,7 +148,7 @@ class FolderControllerTest extends ControllerTestUtility { } - private function collapseException($ex){ + private function collapseException($ex){ $urlParams = array('folderId' => 1); $this->folderMapper->expects($this->once()) ->method('setCollapsed') @@ -158,21 +158,21 @@ class FolderControllerTest extends ControllerTestUtility { $response = $this->controller->collapse(); - $expected = '{"status":"error","data":[],"msg":"' . $ex->getMessage() . '"}'; + $expected = '{"status":"error","data":[],"msg":"' . $ex->getMessage() . '"}'; $this->assertEquals($expected, $response->render()); } - public function testCollapseDoesNotExistExceptionReturnsJSONError(){ - $ex = new DoesNotExistException('exception'); - $this->collapseException($ex); - } + public function testCollapseDoesNotExistExceptionReturnsJSONError(){ + $ex = new DoesNotExistException('exception'); + $this->collapseException($ex); + } - public function testCollapseMultipleObjectsReturnedReturnsJSONError(){ - $ex = new MultipleObjectsReturnedException('exception'); - $this->collapseException($ex); - } + public function testCollapseMultipleObjectsReturnedReturnsJSONError(){ + $ex = new MultipleObjectsReturnedException('exception'); + $this->collapseException($ex); + } }
\ No newline at end of file |