summaryrefslogtreecommitdiffstats
path: root/tests/lib/Preview/BackgroundCleanupJobTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Preview/BackgroundCleanupJobTest.php')
-rw-r--r--tests/lib/Preview/BackgroundCleanupJobTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Preview/BackgroundCleanupJobTest.php b/tests/lib/Preview/BackgroundCleanupJobTest.php
index b33d75c6aa6..65e30df4a15 100644
--- a/tests/lib/Preview/BackgroundCleanupJobTest.php
+++ b/tests/lib/Preview/BackgroundCleanupJobTest.php
@@ -61,7 +61,7 @@ class BackgroundCleanupJobTest extends \Test\TestCase {
/** @var IRootFolder */
private $rootFolder;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userId = $this->getUniqueID();
@@ -87,7 +87,7 @@ class BackgroundCleanupJobTest extends \Test\TestCase {
$this->rootFolder = \OC::$server->getRootFolder();
}
- public function tearDown() {
+ public function tearDown(): void {
if ($this->trashEnabled) {
$appManager = \OC::$server->getAppManager();
$appManager->enableApp('files_trashbin');
@@ -95,7 +95,7 @@ class BackgroundCleanupJobTest extends \Test\TestCase {
$this->logout();
- return parent::tearDown();
+ parent::tearDown();
}
private function setup11Previews(): array {