aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Node/FileTest.php
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-04-18 04:11:44 +0200
committerGitHub <noreply@github.com>2023-04-18 04:11:44 +0200
commit855e7a2efb377653d0ce50ff9c0e43ec27612413 (patch)
tree35c17a4cb706b29d03b4a1a866ac0f7d997b5355 /tests/lib/Files/Node/FileTest.php
parente10e509452de7f69c64e394a652b46a6ca2cbd95 (diff)
parentd9c81f56ad25d6665e87468cf18dc2646334fb3b (diff)
downloadnextcloud-server-855e7a2efb377653d0ce50ff9c0e43ec27612413.tar.gz
nextcloud-server-855e7a2efb377653d0ce50ff9c0e43ec27612413.zip
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
fix: always use proper path on node api when calling the view
Diffstat (limited to 'tests/lib/Files/Node/FileTest.php')
-rw-r--r--tests/lib/Files/Node/FileTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Node/FileTest.php b/tests/lib/Files/Node/FileTest.php
index 3305f9ac170..218e2531727 100644
--- a/tests/lib/Files/Node/FileTest.php
+++ b/tests/lib/Files/Node/FileTest.php
@@ -185,7 +185,7 @@ class FileTest extends NodeTest {
$root = new \OC\Files\Node\Root(
$this->manager,
- new $this->view,
+ $this->view,
$this->user,
$this->userMountCache,
$this->logger,
@@ -277,7 +277,7 @@ class FileTest extends NodeTest {
$root = new \OC\Files\Node\Root(
$this->manager,
- new $this->view,
+ $this->view,
$this->user,
$this->userMountCache,
$this->logger,