summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/ExportControllerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 01:59:42 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 22:52:27 +0200
commit4637dcc4587ed0c3b1695568a3c8a3853d695c5d (patch)
treee1778a3ddbaa95568ab90c211d49925f4946d157 /tests/unit/controller/ExportControllerTest.php
parent6d365e8083ecf67212203fe86fd1e1bf2b4ac281 (diff)
migrate security annotations, please review
Diffstat (limited to 'tests/unit/controller/ExportControllerTest.php')
-rw-r--r--tests/unit/controller/ExportControllerTest.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/controller/ExportControllerTest.php b/tests/unit/controller/ExportControllerTest.php
index 0970993ca..b79574ff2 100644
--- a/tests/unit/controller/ExportControllerTest.php
+++ b/tests/unit/controller/ExportControllerTest.php
@@ -73,15 +73,13 @@ class ExportControllerTest extends ControllerTestUtility {
public function testOpmlAnnotations(){
- $annotations = array('IsAdminExemption', 'IsSubAdminExemption',
- 'CSRFExemption');
+ $annotations = array('NoAdminRequired', 'NoCSRFRequired');
$this->assertAnnotations($this->controller, 'opml', $annotations);
}
public function testArticlesAnnotations(){
- $annotations = array('IsAdminExemption', 'IsSubAdminExemption',
- 'CSRFExemption');
+ $annotations = array('NoAdminRequired', 'NoCSRFRequired');
$this->assertAnnotations($this->controller, 'articles', $annotations);
}