diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-01 23:04:08 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-01 23:04:08 +0200 |
commit | 8c58a415669689b6e9a0bd280575a59073d86945 (patch) | |
tree | 85228f4f14aa53a52d756819911070293e319fa4 /tests/unit | |
parent | b78b3fe215af482828434a41d771e7b84de8801e (diff) |
fix updater url
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/controller/ApiControllerTest.php | 4 | ||||
-rw-r--r-- | tests/unit/controller/FeedApiControllerTest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/unit/controller/ApiControllerTest.php index 8975819ea..5693ac3aa 100644 --- a/tests/unit/controller/ApiControllerTest.php +++ b/tests/unit/controller/ApiControllerTest.php @@ -59,12 +59,12 @@ class ApiControllerTest extends ControllerTestUtility { } public function testBeforeUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->newsAPI, 'beforeUpdate', $annotations); } public function testAfterUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->newsAPI, 'afterUpdate', $annotations); } diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php index fdd507258..7beeda87e 100644 --- a/tests/unit/controller/FeedApiControllerTest.php +++ b/tests/unit/controller/FeedApiControllerTest.php @@ -113,7 +113,7 @@ class FeedApiControllerTest extends ControllerTestUtility { public function testUpdateAnnotations(){ - $annotations = array('NoCSRFRequired', 'API'); + $annotations = array('NoCSRFRequired'); $this->assertAnnotations($this->feedAPI, 'update', $annotations); } |