summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Node/IntegrationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/Node/IntegrationTest.php')
-rw-r--r--tests/lib/Files/Node/IntegrationTest.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/lib/Files/Node/IntegrationTest.php b/tests/lib/Files/Node/IntegrationTest.php
index da753f833c2..b5cd832d1dd 100644
--- a/tests/lib/Files/Node/IntegrationTest.php
+++ b/tests/lib/Files/Node/IntegrationTest.php
@@ -12,6 +12,8 @@ use OC\Files\Node\Root;
use OC\Files\Storage\Temporary;
use OC\Files\View;
use OC\User\User;
+use OCP\ILogger;
+use OCP\IUserManager;
/**
* Class IntegrationTest
@@ -47,7 +49,14 @@ class IntegrationTest extends \Test\TestCase {
$this->loginAsUser($user->getUID());
$this->view = new View();
- $this->root = new Root($manager, $this->view, $user, \OC::$server->getUserMountCache());
+ $this->root = new Root(
+ $manager,
+ $this->view,
+ $user,
+ \OC::$server->getUserMountCache(),
+ $this->createMock(ILogger::class),
+ $this->createMock(IUserManager::class)
+ );
$storage = new Temporary(array());
$subStorage = new Temporary(array());
$this->storages[] = $storage;