aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-16 10:16:22 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-16 10:17:22 +0200
commit500fa5431dd563d03724e45e8f78d56962579460 (patch)
tree8801992459ec58db7dd588f4654f55e1e11ef1cc /apps
parent8212feefb9cf5796e6a92b27956092a1b5e933fe (diff)
downloadnextcloud-server-500fa5431dd563d03724e45e8f78d56962579460.tar.gz
nextcloud-server-500fa5431dd563d03724e45e8f78d56962579460.zip
Fix unit tests on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-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;