diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 23:05:50 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 23:05:50 +0200 |
commit | b33d0cc52cec04079c50a6afe02a83e7bb1d50fd (patch) | |
tree | 01f280ea79f6f44d55f620b739ff83d54da587da /tests/unit/controller/ItemApiControllerTest.php | |
parent | bc725e2f23cc1272c8e66e3c4fa89f2d6ea4cbe6 (diff) |
fix api updated request
Diffstat (limited to 'tests/unit/controller/ItemApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/ItemApiControllerTest.php | 8 |
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()) |