diff options
Diffstat (limited to 'tests/unit/api/ItemAPITest.php')
-rw-r--r-- | tests/unit/api/ItemAPITest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/api/ItemAPITest.php b/tests/unit/api/ItemAPITest.php index 5bbf7edf1..4c44e37f2 100644 --- a/tests/unit/api/ItemAPITest.php +++ b/tests/unit/api/ItemAPITest.php @@ -69,8 +69,7 @@ class ItemAPITest extends ControllerTestUtility { private function assertDefaultAnnotations($methodName){ - $annotations = array('IsAdminExemption', 'IsSubAdminExemption', - 'Ajax', 'CSRFExemption', 'API'); + $annotations = array('NoAdminRequired', 'NoCSRFRequired', 'API'); $this->assertAnnotations($this->itemAPI, $methodName, $annotations); } |