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:
authordiosmosis <diosmosis@users.noreply.github.com>2019-11-19 09:44:19 +0300
committerGitHub <noreply@github.com>2019-11-19 09:44:19 +0300
commit7ece9e1958ffa8416e4cb03719d9e04595cd0a6f (patch)
treedd637d46b12aadb02174788623adfb2046b06f7a /tests/PHPUnit/Fixtures
parent65415140ebf9b9a0d0b7d34d922cee60c6e2f886 (diff)
Only add site to list of sites to reprocess if only date being processed is today. (#15154)
* Only add site to list of sites to reprocess if only date being processed is today. * Fix test. * Purge all older archives if newest is queryable. * fix test
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r--tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php b/tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php
index 68977e3700..373b418992 100644
--- a/tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php
+++ b/tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php
@@ -42,6 +42,22 @@ class TwoSitesVisitsInPast extends Fixture
if (!self::siteCreated($idSite = 2)) {
self::createWebsite($this->dateTimeCreationWebsite2);
}
+
+ if (!self::siteCreated($idSite = 3)) {
+ self::createWebsite($this->dateTimeCreationWebsite2);
+ }
+
+ if (!self::siteCreated($idSite = 4)) {
+ self::createWebsite($this->dateTimeCreationWebsite2);
+ }
+
+ if (!self::siteCreated($idSite = 5)) {
+ self::createWebsite($this->dateTimeCreationWebsite2);
+ }
+
+ if (!self::siteCreated($idSite = 6)) {
+ self::createWebsite($this->dateTimeCreationWebsite2);
+ }
}
protected function trackVisits()