summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/FolderControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/FolderControllerTest.php')
-rw-r--r--tests/unit/controller/FolderControllerTest.php6
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
);