summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Integration/Db/ItemMapperTest.php2
-rw-r--r--tests/Integration/IntegrationTest.php4
-rw-r--r--tests/Unit/Command/ExploreGeneratorTest.php2
-rw-r--r--tests/Unit/Migration/MigrateStatusFlagsTest.php2
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);