diff options
Diffstat (limited to 'tests/unit/external/NewsAPITest.php')
-rw-r--r-- | tests/unit/external/NewsAPITest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/external/NewsAPITest.php b/tests/unit/external/NewsAPITest.php index 07ba00a1e..3cccd62ff 100644 --- a/tests/unit/external/NewsAPITest.php +++ b/tests/unit/external/NewsAPITest.php @@ -51,7 +51,8 @@ class NewsAPITest extends ControllerTestUtility { private function assertDefaultAnnotations($methodName){ - $annotations = array('IsAdminExemption', 'IsSubAdminExemption', 'Ajax'); + $annotations = array('IsAdminExemption', 'IsSubAdminExemption', + 'Ajax', 'CSRFExemption'); $this->assertAnnotations($this->newsAPI, $methodName, $annotations); } |