diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-03 10:09:46 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-03 10:10:10 +0200 |
commit | 7332ec1e85be695e44618305cd8424d8ce16ee6f (patch) | |
tree | ef2bd74c82bdac7215ec1e687dd02e00580daa58 /tests | |
parent | 08d9474aaccd67c6e8a19abaf1d5ff6296063215 (diff) |
also require admin account for feed updating
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/external/FeedAPITest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/external/FeedAPITest.php b/tests/unit/external/FeedAPITest.php index ee9e6b60a..670f5f942 100644 --- a/tests/unit/external/FeedAPITest.php +++ b/tests/unit/external/FeedAPITest.php @@ -122,7 +122,8 @@ class FeedAPITest extends ControllerTestUtility { public function testUpdateAnnotations(){ - $this->assertDefaultAnnotations('update'); + $annotations = array('Ajax', 'CSRFExemption', 'API'); + $this->assertAnnotations($this->feedAPI, 'update', $annotations); } |