summaryrefslogtreecommitdiffstats
path: root/tests/Integration
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2019-12-25 06:40:24 +0100
committerGitHub <noreply@github.com>2019-12-25 06:40:24 +0100
commit5de8bed01e4959fabc26691a390fcc020b70e2ae (patch)
tree90635ce565dbc4e50a522d071b69b285b935be96 /tests/Integration
parent6673cbc3d940745a0ecddb93b32805a0fbe79eb1 (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/Integration')
-rw-r--r--tests/Integration/Db/ItemMapperTest.php2
-rw-r--r--tests/Integration/IntegrationTest.php4
2 files changed, 3 insertions, 3 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);