aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Node/IntegrationTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-09-18 18:36:53 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-12 16:12:28 +0200
commit0d842e0550a15b7b6c501dae2ec24a61b72ef8c9 (patch)
tree06c880a305b73d603675b724ae73c944ad484225 /tests/lib/Files/Node/IntegrationTest.php
parentb2d68c00091f8bcba104cabfe0f7e2c78cc7a8d0 (diff)
downloadnextcloud-server-0d842e0550a15b7b6c501dae2ec24a61b72ef8c9.tar.gz
nextcloud-server-0d842e0550a15b7b6c501dae2ec24a61b72ef8c9.zip
optimize Folder::getById to use less queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/Files/Node/IntegrationTest.php')
-rw-r--r--tests/lib/Files/Node/IntegrationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Node/IntegrationTest.php b/tests/lib/Files/Node/IntegrationTest.php
index f52e0623e14..da753f833c2 100644
--- a/tests/lib/Files/Node/IntegrationTest.php
+++ b/tests/lib/Files/Node/IntegrationTest.php
@@ -47,7 +47,7 @@ class IntegrationTest extends \Test\TestCase {
$this->loginAsUser($user->getUID());
$this->view = new View();
- $this->root = new Root($manager, $this->view, $user);
+ $this->root = new Root($manager, $this->view, $user, \OC::$server->getUserMountCache());
$storage = new Temporary(array());
$subStorage = new Temporary(array());
$this->storages[] = $storage;