diff options
Diffstat (limited to 'tests/controller/FolderControllerTest.php')
-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 |