From 8c58a415669689b6e9a0bd280575a59073d86945 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 1 May 2014 23:04:08 +0200 Subject: fix updater url --- tests/unit/controller/ApiControllerTest.php | 4 ++-- tests/unit/controller/FeedApiControllerTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/unit') 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); } -- cgit v1.2.3