summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-06-22 18:18:55 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-06-22 18:18:55 +0200
commit4affc4f485d1a69426edad1a2a02deb3dbcf9a5e (patch)
tree27082f73e83bb75873860b6c5397d6c4258749c2 /tests
parentb11cd6e058d6f9f1bbcba568858d8fea34178e4c (diff)
add api annotations
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/external/FeedAPITest.php2
-rw-r--r--tests/unit/external/FolderAPITest.php2
-rw-r--r--tests/unit/external/ItemAPITest.php2
-rw-r--r--tests/unit/external/NewsAPITest.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/external/FeedAPITest.php b/tests/unit/external/FeedAPITest.php
index 9b9d02514..a42a1c8c9 100644
--- a/tests/unit/external/FeedAPITest.php
+++ b/tests/unit/external/FeedAPITest.php
@@ -85,7 +85,7 @@ class FeedAPITest extends ControllerTestUtility {
private function assertDefaultAnnotations($methodName){
$annotations = array('IsAdminExemption', 'IsSubAdminExemption',
- 'Ajax', 'CSRFExemption');
+ 'Ajax', 'CSRFExemption', 'API');
$this->assertAnnotations($this->feedAPI, $methodName, $annotations);
}
diff --git a/tests/unit/external/FolderAPITest.php b/tests/unit/external/FolderAPITest.php
index 60ab40a81..8aef3d3f1 100644
--- a/tests/unit/external/FolderAPITest.php
+++ b/tests/unit/external/FolderAPITest.php
@@ -80,7 +80,7 @@ class FolderAPITest extends ControllerTestUtility {
private function assertDefaultAnnotations($methodName){
$annotations = array('IsAdminExemption', 'IsSubAdminExemption',
- 'Ajax', 'CSRFExemption');
+ 'Ajax', 'CSRFExemption', 'API');
$this->assertAnnotations($this->folderAPI, $methodName, $annotations);
}
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);
}
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);
}