summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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())