summaryrefslogtreecommitdiffstats
path: root/tests/controller/FeedControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller/FeedControllerTest.php')
-rw-r--r--tests/controller/FeedControllerTest.php36
1 files changed, 33 insertions, 3 deletions
diff --git a/tests/controller/FeedControllerTest.php b/tests/controller/FeedControllerTest.php
index 0ab989b6b..d702d8e41 100644
--- a/tests/controller/FeedControllerTest.php
+++ b/tests/controller/FeedControllerTest.php
@@ -58,13 +58,43 @@ class FeedControllerTest extends ControllerTestUtility {
$this->bl);
}
+ private function assertFeedControllerAnnotations($methodName){
+ $annotations = array('IsAdminExemption', 'IsSubAdminExemption', 'Ajax');
+ $this->assertAnnotations($this->controller, $methodName, $annotations);
+ }
public function testFeedsAnnotations(){
- $methodName = 'feeds';
- $annotations = array('IsAdminExemption', 'IsSubAdminExemption', 'Ajax');
+ $this->assertFeedControllerAnnotations('feeds');
+ }
- $this->assertAnnotations($this->controller, $methodName, $annotations);
+
+ public function testActiveAnnotations(){
+ $this->assertFeedControllerAnnotations('active');
}
+ public function testCreateAnnotations(){
+ $this->assertFeedControllerAnnotations('create');
+ }
+
+
+ public function testDeleteAnnotations(){
+ $this->assertFeedControllerAnnotations('delete');
+ }
+
+
+ public function testUpdateAnnotations(){
+ $this->assertFeedControllerAnnotations('update');
+ }
+
+
+ public function testReadAnnotations(){
+ $this->assertFeedControllerAnnotations('read');
+ }
+
+
+ public function testMoveAnnotations(){
+ $this->assertFeedControllerAnnotations('move');
+ }
+
} \ No newline at end of file