From d8b479752d327f8901a84454c17fd3c6f701a98d Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 7 Dec 2022 15:55:36 +0100 Subject: Fix hookconnector tests Signed-off-by: Louis Chemineau --- tests/lib/Files/Node/HookConnectorTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/Files') 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(), -- cgit v1.2.3