diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2019-12-25 06:40:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-25 06:40:24 +0100 |
commit | 5de8bed01e4959fabc26691a390fcc020b70e2ae (patch) | |
tree | 90635ce565dbc4e50a522d071b69b285b935be96 /tests | |
parent | 6673cbc3d940745a0ecddb93b32805a0fbe79eb1 (diff) |
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 <info@b-brahmer.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Integration/Db/ItemMapperTest.php | 2 | ||||
-rw-r--r-- | tests/Integration/IntegrationTest.php | 4 | ||||
-rw-r--r-- | tests/Unit/Command/ExploreGeneratorTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Migration/MigrateStatusFlagsTest.php | 2 |
4 files changed, 5 insertions, 5 deletions
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); diff --git a/tests/Unit/Command/ExploreGeneratorTest.php b/tests/Unit/Command/ExploreGeneratorTest.php index ac1f2c3c8..213633549 100644 --- a/tests/Unit/Command/ExploreGeneratorTest.php +++ b/tests/Unit/Command/ExploreGeneratorTest.php @@ -43,7 +43,7 @@ class ExploreGeneratorTest extends TestCase { /** @var \Symfony\Component\Console\Command\Command */ protected $command; - protected function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Migration/MigrateStatusFlagsTest.php b/tests/Unit/Migration/MigrateStatusFlagsTest.php index 8b391b812..fb915ec94 100644 --- a/tests/Unit/Migration/MigrateStatusFlagsTest.php +++ b/tests/Unit/Migration/MigrateStatusFlagsTest.php @@ -34,7 +34,7 @@ class MigrateStatusFlagsTest extends TestCase */ protected $output; - protected function setUp() + protected function setUp(): void { $this->db = $this->createMock(IDBConnection::class); $this->config = $this->createMock(IConfig::class); |