summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-10-16 15:22:17 +0200
committerGitHub <noreply@github.com>2023-10-16 15:22:17 +0200
commit90485aa39c60ad229adc022f40819397e244c9e3 (patch)
treecdde3205b778c678f89e027f5d6859769375230e /apps/files_sharing
parentc932c94fdd18a0799c522e4e25cca197724d9f2f (diff)
parent500fa5431dd563d03724e45e8f78d56962579460 (diff)
downloadnextcloud-server-90485aa39c60ad229adc022f40819397e244c9e3.tar.gz
nextcloud-server-90485aa39c60ad229adc022f40819397e244c9e3.zip
Merge pull request #40931 from nextcloud/bugfix/noid/fix-unit-tests-on-8.3
Fix unit tests on PHP 8.3
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/Controller/ExternalShareControllerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
index 11c9c21eb5c..ff6001e0ced 100644
--- a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
@@ -32,6 +32,7 @@ use OCP\IRequest;
use OCP\Http\Client\IResponse;
use OCP\Http\Client\IClient;
use OCA\Files_Sharing\External\Manager;
+use PHPUnit\Framework\MockObject\MockObject;
/**
* Class ExternalShareControllerTest
@@ -43,6 +44,8 @@ class ExternalShareControllerTest extends \Test\TestCase {
private $request;
/** @var \OCA\Files_Sharing\External\Manager */
private $externalManager;
+ /** @var IConfig|MockObject */
+ private $config;
/** @var IClientService */
private $clientService;