summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 23:05:50 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 23:05:50 +0200
commitb33d0cc52cec04079c50a6afe02a83e7bb1d50fd (patch)
tree01f280ea79f6f44d55f620b739ff83d54da587da /tests
parentbc725e2f23cc1272c8e66e3c4fa89f2d6ea4cbe6 (diff)
fix api updated request
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/controller/ItemApiControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/controller/ItemApiControllerTest.php b/tests/unit/controller/ItemApiControllerTest.php
index b0f42aae5..6a8c2a5cd 100644
--- a/tests/unit/controller/ItemApiControllerTest.php
+++ b/tests/unit/controller/ItemApiControllerTest.php
@@ -79,8 +79,8 @@ class ItemApiControllerTest extends ControllerTestUtility {
}
- public function testGetUpdatedAnnotations(){
- $this->assertDefaultAnnotations('getUpdated');
+ public function testUpdatedAnnotations(){
+ $this->assertDefaultAnnotations('updated');
}
@@ -208,7 +208,7 @@ class ItemApiControllerTest extends ControllerTestUtility {
}
- public function testGetUpdated() {
+ public function testUpdated() {
$items = array(
new Item()
);
@@ -237,7 +237,7 @@ class ItemApiControllerTest extends ControllerTestUtility {
)
->will($this->returnValue($items));
- $response = $this->itemAPI->getUpdated();
+ $response = $this->itemAPI->updated();
$this->assertEquals(array(
'items' => array($items[0]->toAPI())