Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php')
-rw-r--r--tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php b/tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php
index 21d8d678a6..5e46659a8a 100644
--- a/tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php
@@ -46,18 +46,18 @@ abstract class IntegrationTestCase extends SystemTestCase
* If your test modifies table columns, you will need to recreate the database
* completely. This can be accomplished by:
*
- * public function setUp()
+ * public function setUp(): void
* {
* self::$fixture->performSetUp();
* }
*
- * public function tearDown()
+ * public function tearDown(): void
* {
* parent::tearDown();
* self::$fixture->performTearDown();
* }
*/
- public static function setUpBeforeClass()
+ public static function setUpBeforeClass(): void
{
static::configureFixture(static::$fixture);
parent::setUpBeforeClass();
@@ -66,7 +66,7 @@ abstract class IntegrationTestCase extends SystemTestCase
self::$tableData = self::getDbTablesWithData();
}
- public static function tearDownAfterClass()
+ public static function tearDownAfterClass(): void
{
self::$tableData = array();
}
@@ -74,7 +74,7 @@ abstract class IntegrationTestCase extends SystemTestCase
/**
* Setup the database and create the base tables for all tests
*/
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
@@ -98,7 +98,7 @@ abstract class IntegrationTestCase extends SystemTestCase
/**
* Resets all caches and drops the database
*/
- public function tearDown()
+ public function tearDown(): void
{
static::$fixture->clearInMemoryCaches();
static::$fixture->destroyEnvironment();