aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/FileInfoTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/FileInfoTest.php')
-rw-r--r--tests/lib/Files/FileInfoTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/Files/FileInfoTest.php b/tests/lib/Files/FileInfoTest.php
index bc4a25ef622..b3d3c9f0fec 100644
--- a/tests/lib/Files/FileInfoTest.php
+++ b/tests/lib/Files/FileInfoTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -27,7 +28,7 @@ class FileInfoTest extends TestCase {
$this->config = $this->getMockBuilder(IConfig::class)->getMock();
}
- public function testIsMountedHomeStorage() {
+ public function testIsMountedHomeStorage(): void {
$user = $this->createMock(IUser::class);
$user->method('getUID')
->willReturn('foo');
@@ -45,7 +46,7 @@ class FileInfoTest extends TestCase {
$this->assertFalse($fileInfo->isMounted());
}
- public function testIsMountedNonHomeStorage() {
+ public function testIsMountedNonHomeStorage(): void {
$storage = new Temporary();
$fileInfo = new FileInfo(
'',