diff options
author | Louis Chemineau <louis@chmn.me> | 2022-12-07 15:55:36 +0100 |
---|---|---|
committer | Louis (Rebase PR Action) <artonge@users.noreply.github.com> | 2023-01-26 10:12:23 +0000 |
commit | d8b479752d327f8901a84454c17fd3c6f701a98d (patch) | |
tree | f3123df4d850b3bc39c82078a68187ac5f6be123 /tests | |
parent | 53d736207c87485763f5cbfd04a4ea3067b6606d (diff) | |
download | nextcloud-server-d8b479752d327f8901a84454c17fd3c6f701a98d.tar.gz nextcloud-server-d8b479752d327f8901a84454c17fd3c6f701a98d.zip |
Fix hookconnector tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Node/HookConnectorTest.php | 3 |
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(), |