From 5de8bed01e4959fabc26691a390fcc020b70e2ae Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Wed, 25 Dec 2019 06:40:24 +0100 Subject: Update for nextcloud 18 (#593) bump nc-compatability 16 to 18, php-min 7.2 adapt tests for nc 18 Signed-off-by: Benjamin Brahmer --- tests/Integration/Db/ItemMapperTest.php | 2 +- tests/Integration/IntegrationTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/Integration') diff --git a/tests/Integration/Db/ItemMapperTest.php b/tests/Integration/Db/ItemMapperTest.php index c87a4139f..e510aab96 100644 --- a/tests/Integration/Db/ItemMapperTest.php +++ b/tests/Integration/Db/ItemMapperTest.php @@ -304,7 +304,7 @@ class ItemMapperTest extends IntegrationTest } } - protected function tearDown() + protected function tearDown(): void { parent::tearDown(); $this->clearUserNewsDatabase('john'); diff --git a/tests/Integration/IntegrationTest.php b/tests/Integration/IntegrationTest.php index 8dbdec802..13969e7c3 100644 --- a/tests/Integration/IntegrationTest.php +++ b/tests/Integration/IntegrationTest.php @@ -58,7 +58,7 @@ abstract class IntegrationTest extends \Test\TestCase */ protected $container; - protected function setUp() + protected function setUp(): void { parent::setUp(); $app = new Application(); @@ -231,7 +231,7 @@ abstract class IntegrationTest extends \Test\TestCase } } - protected function tearDown() + protected function tearDown(): void { parent::tearDown(); $this->tearDownUser($this->user); -- cgit v1.2.3