summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2023-01-30 10:40:49 +0100
committerGitHub <noreply@github.com>2023-01-30 10:40:49 +0100
commit2f3007205d11732e931615ab1bf71620321ed64a (patch)
tree6061c638f220f46c62f859689e6e4977eecb32be /tests
parentde415fbb15d6c5cceca7b05261947d573a7a512c (diff)
parent552f5b0171ab071e9696414e05105791875f51fb (diff)
downloadnextcloud-server-2f3007205d11732e931615ab1bf71620321ed64a.tar.gz
nextcloud-server-2f3007205d11732e931615ab1bf71620321ed64a.zip
Merge pull request #35160 from nextcloud/artonge/feat/version_naming_backend
Allow to name a version
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Node/HookConnectorTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Files/Node/HookConnectorTest.php b/tests/lib/Files/Node/HookConnectorTest.php
index f99db6599fd..9704c7b89f1 100644
--- a/tests/lib/Files/Node/HookConnectorTest.php
+++ b/tests/lib/Files/Node/HookConnectorTest.php
@@ -69,8 +69,9 @@ class HookConnectorTest extends TestCase {
parent::setUp();
$this->userId = $this->getUniqueID();
$this->createUser($this->userId, 'pass');
+ // this will setup the FS
+ $this->loginAsUser($this->userId);
$this->registerMount($this->userId, new Temporary(), '/' . $this->userId . '/files/');
- \OC_Util::setupFS($this->userId);
$this->view = new View();
$this->root = new Root(
Filesystem::getMountManager(),