diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-25 14:35:25 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 20:57:01 +0100 |
commit | 0c32b212ed5033a2c09e4e61957e674d0b4632cf (patch) | |
tree | 6a6831e13b3b3bd42bcbb44b3a557a7197802b5f /apps/files_external | |
parent | f0e50bcb741ac83b3bc91fbe52248736be33d71c (diff) | |
download | nextcloud-server-0c32b212ed5033a2c09e4e61957e674d0b4632cf.tar.gz nextcloud-server-0c32b212ed5033a2c09e4e61957e674d0b4632cf.zip |
Fix files_external tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php | 2 |
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 b622fd5221d..88928d1a217 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 = $this->createMock(IUser::class); + $this->user = new \OC\User\User(self::USER_ID, null, \OC::$server->getEventDispatcher()); /** @var \OCP\IUserSession|\PHPUnit_Framework_MockObject_MockObject $userSession */ $userSession = $this->createMock(IUserSession::class); $userSession |