summaryrefslogtreecommitdiffstats
path: root/tests/unit/external/NewsAPITest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/external/NewsAPITest.php')
-rw-r--r--tests/unit/external/NewsAPITest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/external/NewsAPITest.php b/tests/unit/external/NewsAPITest.php
index 3cccd62ff..e1fd2e50a 100644
--- a/tests/unit/external/NewsAPITest.php
+++ b/tests/unit/external/NewsAPITest.php
@@ -52,7 +52,7 @@ class NewsAPITest extends ControllerTestUtility {
private function assertDefaultAnnotations($methodName){
$annotations = array('IsAdminExemption', 'IsSubAdminExemption',
- 'Ajax', 'CSRFExemption');
+ 'Ajax', 'CSRFExemption', 'API');
$this->assertAnnotations($this->newsAPI, $methodName, $annotations);
}