summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php')
-rw-r--r--apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
index 452d8589a3d..b622fd5221d 100644
--- a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
@@ -64,7 +64,7 @@ class UserGlobalStoragesServiceTest extends GlobalStoragesServiceTest {
$this->globalStoragesService = $this->service;
- $this->user = new \OC\User\User(self::USER_ID, null);
+ $this->user = $this->createMock(IUser::class);
/** @var \OCP\IUserSession|\PHPUnit_Framework_MockObject_MockObject $userSession */
$userSession = $this->createMock(IUserSession::class);
$userSession