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/SegmentEditor/tests/System/UnprocessedSegmentsTest.php')
-rw-r--r--plugins/SegmentEditor/tests/System/UnprocessedSegmentsTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/SegmentEditor/tests/System/UnprocessedSegmentsTest.php b/plugins/SegmentEditor/tests/System/UnprocessedSegmentsTest.php
index 28881d034e..35cd5ff10f 100644
--- a/plugins/SegmentEditor/tests/System/UnprocessedSegmentsTest.php
+++ b/plugins/SegmentEditor/tests/System/UnprocessedSegmentsTest.php
@@ -17,6 +17,7 @@ use Piwik\Plugins\SegmentEditor\API;
use Piwik\Plugins\VisitsSummary;
use Piwik\Tests\Fixtures\OneVisitorTwoVisits;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
+use Piwik\CronArchive\SegmentArchiving;
/**
* @group SegmentEditor
@@ -257,6 +258,9 @@ class UnprocessedSegmentsTest extends IntegrationTestCase
$previous->General['browser_archiving_disabled_enforce'] = 1;
return $previous;
}),
+
+ SegmentArchiving::class => \DI\object()
+ ->constructorParameter('beginningOfTimeLastNInYears', 15)
];
}