diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/controller/FolderControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/controller/FolderControllerTest.php b/tests/controller/FolderControllerTest.php index a9eb85e9e..4dfe5e200 100644 --- a/tests/controller/FolderControllerTest.php +++ b/tests/controller/FolderControllerTest.php @@ -103,7 +103,7 @@ class FolderControllerTest extends ControllerTestUtility { /** * collapse - */ + *//* public function testCollapseCalled(){ $urlParams = array('folderId' => 1); $this->folderMapper->expects($this->once()) @@ -161,7 +161,7 @@ class FolderControllerTest extends ControllerTestUtility { $expected = '{"status":"error","data":[],"msg":"' . $ex->getMessage() . '"}'; $this->assertEquals($expected, $response->render()); } - + public function testCollapseDoesNotExistExceptionReturnsJSONError(){ $ex = new DoesNotExistException('exception'); @@ -173,6 +173,6 @@ class FolderControllerTest extends ControllerTestUtility { $ex = new MultipleObjectsReturnedException('exception'); $this->collapseException($ex); } - +urlParams has been removed, please refactor*/ }
\ No newline at end of file |