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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/external/NewsAPITest.php b/tests/unit/external/NewsAPITest.php
index b5cd808e3..9396e4f05 100644
--- a/tests/unit/external/NewsAPITest.php
+++ b/tests/unit/external/NewsAPITest.php
@@ -66,7 +66,8 @@ class NewsAPITest extends ControllerTestUtility {
}
public function testCleanUpAnnotations(){
- $this->assertDefaultAnnotations('cleanUp');
+ $annotations = array('Ajax', 'CSRFExemption', 'API');
+ $this->assertAnnotations($this->newsAPI, 'cleanUp', $annotations);
}
public function testGetVersion(){