Fix files_external tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f0e50bcb74
commit
0c32b212ed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue