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