From f8311696720f805567bdf1e66c5cf7a8df359900 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 2 Feb 2013 00:28:09 +0100 Subject: added ajax annotation --- tests/controller/FolderControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3