From c007ca624f4a95e1a491221d425fcb2fa6e5589a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Nov 2019 16:40:38 +0100 Subject: Make phpunit8 compatible Signed-off-by: Roeland Jago Douma --- tests/lib/ConfigTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/ConfigTest.php') diff --git a/tests/lib/ConfigTest.php b/tests/lib/ConfigTest.php index 2a4c9620340..109f7471e96 100644 --- a/tests/lib/ConfigTest.php +++ b/tests/lib/ConfigTest.php @@ -20,7 +20,7 @@ class ConfigTest extends TestCase { /** @var string */ private $randomTmpDir; - protected function setUp() { + protected function setUp(): void { parent::setUp(); $this->randomTmpDir = \OC::$server->getTempManager()->getTemporaryFolder(); @@ -29,7 +29,7 @@ class ConfigTest extends TestCase { $this->config = new \OC\Config($this->randomTmpDir, 'testconfig.php'); } - protected function tearDown() { + protected function tearDown(): void { unlink($this->configFile); parent::tearDown(); } -- cgit v1.2.3