Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 12, 2023
1 parent 91ebbe8 commit cd659b7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Http\Client\IClientService;
use OCP\IConfig;
use OCP\IRequest;
use OCP\Http\Client\IResponse;
use OCP\Http\Client\IClient;
Expand All @@ -50,6 +51,7 @@ protected function setUp(): void {
$this->request = $this->createMock(IRequest::class);
$this->externalManager = $this->createMock(Manager::class);
$this->clientService = $this->createMock(IClientService::class);
$this->config = $this->createMock(IConfig::class);
}

/**
Expand All @@ -60,7 +62,8 @@ public function getExternalShareController() {
'files_sharing',
$this->request,
$this->externalManager,
$this->clientService
$this->clientService,
$this->config,
);
}

Expand Down

0 comments on commit cd659b7

Please sign in to comment.