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 'plugins/Insights/tests/Integration/ApiTest.php')
-rw-r--r--plugins/Insights/tests/Integration/ApiTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Insights/tests/Integration/ApiTest.php b/plugins/Insights/tests/Integration/ApiTest.php
index 774a9e54c5..31f3ddba73 100644
--- a/plugins/Insights/tests/Integration/ApiTest.php
+++ b/plugins/Insights/tests/Integration/ApiTest.php
@@ -35,7 +35,7 @@ class ApiTest extends SystemTestCase
private $api;
private $idSite;
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
@@ -45,7 +45,7 @@ class ApiTest extends SystemTestCase
$this->api = API::getInstance();
}
- public function tearDown()
+ public function tearDown(): void
{
parent::tearDown();
@@ -88,7 +88,7 @@ class ApiTest extends SystemTestCase
'evolutionDifference' => -9
);
- $this->assertInternalType('array', $metadata['report']);
+ self::assertIsArray($metadata['report']);
$this->assertEquals('Actions', $metadata['report']['module']);
$this->assertEquals('getPageUrls', $metadata['report']['action']);
unset($metadata['report']);