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:
authorStefan Giehl <stefan@matomo.org>2020-02-27 13:08:45 +0300
committerGitHub <noreply@github.com>2020-02-27 13:08:45 +0300
commit93aef4865cfdee9fcfa5acc9ff1950459a0af42e (patch)
treeaa8ad643d8ad233ffb2b033a437bcd2b71274877 /tests/PHPUnit/Integration/CronArchiveTest.php
parentf28c7fa6cb6c63c8f459206448c7dcb93568099e (diff)
Update to PHPUnit 8.5 (#15581)
* use latest phpunit/phpunit ~8.5 * submodule updates * fixes
Diffstat (limited to 'tests/PHPUnit/Integration/CronArchiveTest.php')
-rw-r--r--tests/PHPUnit/Integration/CronArchiveTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/Integration/CronArchiveTest.php b/tests/PHPUnit/Integration/CronArchiveTest.php
index 74f0dc561b..775c348e68 100644
--- a/tests/PHPUnit/Integration/CronArchiveTest.php
+++ b/tests/PHPUnit/Integration/CronArchiveTest.php
@@ -106,9 +106,9 @@ class CronArchiveTest extends IntegrationTestCase
$archiver->init();
$archiver->run();
- $this->assertContains('Will skip segments archiving for today unless they were created recently', $logger->output);
- $this->assertContains('Segment "actions>=1" was created or changed recently and will therefore archive today', $logger->output);
- $this->assertNotContains('Segment "actions>=2" was created recently', $logger->output);
+ self::assertStringContainsString('Will skip segments archiving for today unless they were created recently', $logger->output);
+ self::assertStringContainsString('Segment "actions>=1" was created or changed recently and will therefore archive today', $logger->output);
+ self::assertStringNotContainsString('Segment "actions>=2" was created recently', $logger->output);
}
public function test_output()
@@ -212,7 +212,7 @@ Will pre-process for website id = 1, period = day, date = last52
- pre-processing all visits
LOG;
- $this->assertContains($expected, $logger->output);
+ self::assertStringContainsString($expected, $logger->output);
}
public function provideContainerConfig()