diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/controller/ApiControllerTest.php | 4 | ||||
-rw-r--r-- | tests/unit/controller/FeedApiControllerTest.php | 2 |
2 files changed, 3 insertions, 3 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); } diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php index fdd507258..7beeda87e 100644 --- a/tests/unit/controller/FeedApiControllerTest.php +++ b/tests/unit/controller/FeedApiControllerTest.php @@ -113,7 +113,7 @@ class FeedApiControllerTest extends ControllerTestUtility { public function testUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->feedAPI, 'update', $annotations); } |