summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/FolderMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/db/FolderMapperTest.php')
-rw-r--r--tests/unit/db/FolderMapperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/db/FolderMapperTest.php b/tests/unit/db/FolderMapperTest.php
index b27cf80ab..9254bf493 100644
--- a/tests/unit/db/FolderMapperTest.php
+++ b/tests/unit/db/FolderMapperTest.php
@@ -37,7 +37,7 @@ class FolderMapperTest extends \OCA\News\Utility\MapperTestUtility {
protected function setUp(){
$this->beforeEach();
- $this->folderMapper = new FolderMapper($this->api);
+ $this->folderMapper = new FolderMapper($this->db);
// create mock folders
$folder1 = new Folder();