From ab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 25 Oct 2017 00:03:28 +0200 Subject: Use ::class in test mocks of dav app Signed-off-by: Morris Jobke --- tests/lib/Files/Node/RootTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/Files/Node/RootTest.php') 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') -- cgit v1.2.3