aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Node/RootTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-25 00:03:28 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-10-26 10:16:12 +0200
commitab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc (patch)
treeb5165a41d54f8d9e1fae58a69961a6d1c75fb6b4 /tests/lib/Files/Node/RootTest.php
parenta82b56b1c7146ddb3085f3e03e18be4700d95a0e (diff)
downloadnextcloud-server-ab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc.tar.gz
nextcloud-server-ab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc.zip
Use ::class in test mocks of dav app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/Files/Node/RootTest.php')
-rw-r--r--tests/lib/Files/Node/RootTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Node/RootTest.php b/tests/lib/Files/Node/RootTest.php
index 2f81a96d486..fd050c8d90c 100644
--- a/tests/lib/Files/Node/RootTest.php
+++ b/tests/lib/Files/Node/RootTest.php
@@ -47,7 +47,7 @@ class RootTest extends \Test\TestCase {
->getMock();
$this->user = new \OC\User\User('', new \Test\Util\User\Dummy, null, $config, $urlgenerator);
- $this->manager = $this->getMockBuilder('\OC\Files\Mount\Manager')
+ $this->manager = $this->getMockBuilder(Manager::class)
->disableOriginalConstructor()
->getMock();
$this->userMountCache = $this->getMockBuilder('\OCP\Files\Config\IUserMountCache')