aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/Controller/ShareControllerTest.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-26 09:22:26 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-26 09:22:26 +0200
commitb9115da4f27ff2cc013da4ec88754c1175dd5216 (patch)
treecffbf11e3742d744f46ef95577d0b05c208e19eb /apps/files_sharing/tests/Controller/ShareControllerTest.php
parent9a220989dd1cd3a5792b8fc385ee1d7b1bcc7fb8 (diff)
downloadnextcloud-server-refactor/apps/php55-features.tar.gz
nextcloud-server-refactor/apps/php55-features.zip
refactor(apps): Use PHP 5.5 featuresrefactor/apps/php55-features
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_sharing/tests/Controller/ShareControllerTest.php')
-rw-r--r--apps/files_sharing/tests/Controller/ShareControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php
index 45c0d54c918..3c2420e06f9 100644
--- a/apps/files_sharing/tests/Controller/ShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php
@@ -625,7 +625,7 @@ class ShareControllerTest extends \Test\TestCase {
$owner->method('getDisplayName')->willReturn('ownerDisplay');
$owner->method('getUID')->willReturn('ownerUID');
- $file = $this->getMockBuilder('OCP\Files\File')->getMock();
+ $file = $this->getMockBuilder(\OCP\Files\File::class)->getMock();
$file->method('getName')->willReturn($filename);
$file->method('getMimetype')->willReturn('text/plain');
$file->method('getSize')->willReturn(33);