summaryrefslogtreecommitdiffstats
path: root/tests/bl/FolderBlTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bl/FolderBlTest.php')
-rw-r--r--tests/bl/FolderBlTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bl/FolderBlTest.php b/tests/bl/FolderBlTest.php
index de8ba9604..6b771e02b 100644
--- a/tests/bl/FolderBlTest.php
+++ b/tests/bl/FolderBlTest.php
@@ -77,7 +77,7 @@ class FolderBlTest extends \OCA\AppFramework\Utility\TestUtility {
}
- public function testSetOpened(){
+ public function testOpen(){
$folder = new Folder();
$this->folderMapper->expects($this->once())
@@ -89,7 +89,7 @@ class FolderBlTest extends \OCA\AppFramework\Utility\TestUtility {
->method('update')
->with($this->equalTo($folder));
- $this->folderBl->setOpened(3, false, '');
+ $this->folderBl->open(3, false, '');
$this->assertFalse($folder->getOpened());