summaryrefslogtreecommitdiffstats
path: root/tests/lib/Share20
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:06:28 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:08:21 +0100
commitc79a6b3f62948075f7ce67a0294b0410fd61af3d (patch)
treed67ee83d8c0fd892ce722b40b3f859d76ff20ebe /tests/lib/Share20
parent70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff)
downloadnextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.tar.gz
nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.zip
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Share20')
-rw-r--r--tests/lib/Share20/ShareTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/Share20/ShareTest.php b/tests/lib/Share20/ShareTest.php
index 7d4dc6de2d6..b2419e07683 100644
--- a/tests/lib/Share20/ShareTest.php
+++ b/tests/lib/Share20/ShareTest.php
@@ -23,6 +23,7 @@ namespace Test\Share20;
use OCP\Files\IRootFolder;
use OCP\IUserManager;
+use PHPUnit\Framework\MockObject\MockObject;
/**
* Class ShareTest
@@ -30,9 +31,10 @@ use OCP\IUserManager;
* @package Test\Share20
*/
class ShareTest extends \Test\TestCase {
-
- /** @var IRootFolder|\PHPUnit\Framework\MockObject\MockObject */
+ /** @var IRootFolder|MockObject */
protected $rootFolder;
+ /** @var IUserManager|MockObject */
+ protected $userManager;
/** @var \OCP\Share\IShare */
protected $share;