diff options
Diffstat (limited to 'tests/unit/external/FeedAPITest.php')
-rw-r--r-- | tests/unit/external/FeedAPITest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/external/FeedAPITest.php b/tests/unit/external/FeedAPITest.php index 6b133610e..ee9e6b60a 100644 --- a/tests/unit/external/FeedAPITest.php +++ b/tests/unit/external/FeedAPITest.php @@ -116,7 +116,8 @@ class FeedAPITest extends ControllerTestUtility { public function testGetAllFromUsersAnnotations(){ - $this->assertDefaultAnnotations('getAllFromAllUsers'); + $annotations = array('Ajax', 'CSRFExemption', 'API'); + $this->assertAnnotations($this->feedAPI, 'getAllFromAllUsers', $annotations); } @@ -124,6 +125,7 @@ class FeedAPITest extends ControllerTestUtility { $this->assertDefaultAnnotations('update'); } + public function testGetAll() { $feeds = array( new Feed() |