diff options
-rw-r--r-- | tests/controller/FolderControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/controller/FolderControllerTest.php b/tests/controller/FolderControllerTest.php index bec8ec788..f1a853400 100644 --- a/tests/controller/FolderControllerTest.php +++ b/tests/controller/FolderControllerTest.php @@ -80,7 +80,7 @@ class FolderControllerTest extends ControllerTestUtility { public function testGetAllAnnotations(){ $methodName = 'getAll'; - $annotations = array('IsAdminExemption', 'IsSubAdminExemption'); + $annotations = array('IsAdminExemption', 'IsSubAdminExemption', 'Ajax'); $this->assertAnnotations($this->controller, $methodName, $annotations); } @@ -90,7 +90,7 @@ class FolderControllerTest extends ControllerTestUtility { $this->folderMapper->expects($this->once()) ->method('getAll') ->will($this->returnValue( array() )); - + $response = $this->controller->getAll(); $this->assertTrue($response instanceof JSONResponse); |