private $config;
/** @var IClientService */
private $clientService;
- /** @var \OC_Util */
- private $util;
/** @var IURLGenerator */
private $urlGenerator;
/** @var IL10N */
IConfig $config,
IClientService $clientService,
IURLGenerator $urlGenerator,
- \OC_Util $util,
IL10N $l10n,
Checker $checker,
ILogger $logger,
parent::__construct($AppName, $request);
$this->config = $config;
$this->clientService = $clientService;
- $this->util = $util;
$this->urlGenerator = $urlGenerator;
$this->l10n = $l10n;
$this->checker = $checker;
use OCP\ILogger;
use OCP\IRequest;
use OCP\IURLGenerator;
-use OC_Util;
use OCP\Lock\ILockingProvider;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Http\Message\ResponseInterface;
private $clientService;
/** @var IURLGenerator | \PHPUnit_Framework_MockObject_MockObject */
private $urlGenerator;
- /** @var OC_Util */
- private $util;
/** @var IL10N | \PHPUnit_Framework_MockObject_MockObject */
private $l10n;
/** @var ILogger */
->disableOriginalConstructor()->getMock();
$this->clientService = $this->getMockBuilder(IClientService::class)
->disableOriginalConstructor()->getMock();
- $this->util = $this->getMockBuilder('\OC_Util')
- ->disableOriginalConstructor()->getMock();
$this->urlGenerator = $this->getMockBuilder(IURLGenerator::class)
->disableOriginalConstructor()->getMock();
$this->l10n = $this->getMockBuilder(IL10N::class)
$this->config,
$this->clientService,
$this->urlGenerator,
- $this->util,
$this->l10n,
$this->checker,
$this->logger,
$this->config,
$this->clientService,
$this->urlGenerator,
- $this->util,
$this->l10n,
$this->checker,
$this->logger,
$this->config,
$this->clientService,
$this->urlGenerator,
- $this->util,
$this->l10n,
$this->checker,
$this->logger,
$this->config,
$this->clientService,
$this->urlGenerator,
- $this->util,
$this->l10n,
$this->checker,
$this->logger,
$this->config,
$this->clientService,
$this->urlGenerator,
- $this->util,
$this->l10n,
$this->checker,
$this->logger,