diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 16:10:48 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 22:52:27 +0200 |
commit | 643fa4624dd7ba2db1349f16131bf330aeee3387 (patch) | |
tree | 73bc787a3eb1ed5f53ab932187546c980ac50bb5 /tests/unit/controller/FolderControllerTest.php | |
parent | efe9db1e064c9736fe35c27040ee60fa28ca8d4d (diff) |
port to internal controller, some routes are still broken
Diffstat (limited to 'tests/unit/controller/FolderControllerTest.php')
-rw-r--r-- | tests/unit/controller/FolderControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controller/FolderControllerTest.php b/tests/unit/controller/FolderControllerTest.php index a26fc3151..dba656e7b 100644 --- a/tests/unit/controller/FolderControllerTest.php +++ b/tests/unit/controller/FolderControllerTest.php @@ -94,7 +94,7 @@ class FolderControllerTest extends ControllerTestUtility { } public function testFoldersAnnotations(){ - $this->assertFolderControllerAnnotations('folders'); + $this->assertFolderControllerAnnotations('index'); } @@ -132,7 +132,7 @@ class FolderControllerTest extends ControllerTestUtility { $this->assertFolderControllerAnnotations('read'); } - public function testFolders(){ + public function testIndex(){ $return = array( new Folder(), new Folder(), @@ -141,7 +141,7 @@ class FolderControllerTest extends ControllerTestUtility { ->method('findAll') ->will($this->returnValue($return)); - $response = $this->controller->folders(); + $response = $this->controller->index(); $expected = array( 'folders' => $return ); |