|
|
|
|
@ -37,7 +37,6 @@ use OCP\Files\Mount\IMountManager; |
|
|
|
|
use OCP\IConfig; |
|
|
|
|
use OCP\IGroupManager; |
|
|
|
|
use OCP\IL10N; |
|
|
|
|
use OCP\ILogger; |
|
|
|
|
use OCP\IURLGenerator; |
|
|
|
|
use OCP\IUserManager; |
|
|
|
|
use OCP\IUserSession; |
|
|
|
|
@ -46,6 +45,7 @@ use OCP\Mail\IMailer; |
|
|
|
|
use OCP\Security\IHasher; |
|
|
|
|
use OCP\Security\ISecureRandom; |
|
|
|
|
use OCP\Share\IProviderFactory; |
|
|
|
|
use Psr\Log\LoggerInterface; |
|
|
|
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -79,7 +79,7 @@ class CapabilitiesTest extends \Test\TestCase { |
|
|
|
|
$config = $this->getMockBuilder(IConfig::class)->disableOriginalConstructor()->getMock(); |
|
|
|
|
$config->method('getAppValue')->willReturnMap($map); |
|
|
|
|
$shareManager = new Manager( |
|
|
|
|
$this->createMock(ILogger::class), |
|
|
|
|
$this->createMock(LoggerInterface::class), |
|
|
|
|
$config, |
|
|
|
|
$this->createMock(ISecureRandom::class), |
|
|
|
|
$this->createMock(IHasher::class), |
|
|
|
|
|