diff options
Diffstat (limited to 'tests/unit/controller/ApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/ApiControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/unit/controller/ApiControllerTest.php index 8975819ea..5693ac3aa 100644 --- a/tests/unit/controller/ApiControllerTest.php +++ b/tests/unit/controller/ApiControllerTest.php @@ -59,12 +59,12 @@ class ApiControllerTest extends ControllerTestUtility { } public function testBeforeUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->newsAPI, 'beforeUpdate', $annotations); } public function testAfterUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->newsAPI, 'afterUpdate', $annotations); } |