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/ScheduledReports/tests/Integration/ScheduledReportsTest.php')
-rw-r--r--plugins/ScheduledReports/tests/Integration/ScheduledReportsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ScheduledReports/tests/Integration/ScheduledReportsTest.php b/plugins/ScheduledReports/tests/Integration/ScheduledReportsTest.php
index ac194e5e36..97217e3f4d 100644
--- a/plugins/ScheduledReports/tests/Integration/ScheduledReportsTest.php
+++ b/plugins/ScheduledReports/tests/Integration/ScheduledReportsTest.php
@@ -29,7 +29,7 @@ class ScheduledReportsTest extends IntegrationTestCase
private $reports;
private $reportIds = array();
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
@@ -130,7 +130,7 @@ class ScheduledReportsTest extends IntegrationTestCase
$this->getReport($login, $idSite);
$this->fail("Report for $login, $idSite should not exist but does");
} catch (\Exception $e) {
- $this->assertContains("Requested report couldn't be found", $e->getMessage());
+ self::assertStringContainsString("Requested report couldn't be found", $e->getMessage());
}
}