aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ViewTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/ViewTest.php')
-rw-r--r--tests/lib/Files/ViewTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php
index c154c28e24a..1e564c69092 100644
--- a/tests/lib/Files/ViewTest.php
+++ b/tests/lib/Files/ViewTest.php
@@ -85,7 +85,7 @@ class ViewTest extends \Test\TestCase {
/** @var \OC\Files\Storage\Storage */
private $tempStorage;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
\OC_Hook::clear();
@@ -109,7 +109,7 @@ class ViewTest extends \Test\TestCase {
$this->tempStorage = null;
}
- protected function tearDown() {
+ protected function tearDown(): void {
\OC_User::setUserId($this->user);
foreach ($this->storages as $storage) {
$cache = $storage->getCache();