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/DB/SchemaDiffTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/DB/SchemaDiffTest.php') diff --git a/tests/lib/DB/SchemaDiffTest.php b/tests/lib/DB/SchemaDiffTest.php index f74d800bfec..78963698571 100644 --- a/tests/lib/DB/SchemaDiffTest.php +++ b/tests/lib/DB/SchemaDiffTest.php @@ -50,7 +50,7 @@ class SchemaDiffTest extends TestCase { private $schemaFile; - protected function setUp() { + protected function setUp(): void { parent::setUp(); $this->schemaFile = \OC::$server->getTempManager()->getTemporaryFile(); @@ -61,7 +61,7 @@ class SchemaDiffTest extends TestCase { $this->testPrefix= strtolower($this->getUniqueID($this->config->getSystemValue('dbtableprefix', 'oc_'), 3)); } - protected function tearDown() { + protected function tearDown(): void { $this->manager->removeDBStructure($this->schemaFile); parent::tearDown(); } -- cgit v1.2.3