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 'tests/PHPUnit/Integration/ArchiveCronTest.php')
-rw-r--r--tests/PHPUnit/Integration/ArchiveCronTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/ArchiveCronTest.php b/tests/PHPUnit/Integration/ArchiveCronTest.php
index eb49013b5d..dce02cf182 100644
--- a/tests/PHPUnit/Integration/ArchiveCronTest.php
+++ b/tests/PHPUnit/Integration/ArchiveCronTest.php
@@ -7,6 +7,7 @@
*/
use Piwik\Piwik;
use Piwik\Access;
+use Piwik\Date;
/**
* Tests the archive.php cron script.
@@ -91,7 +92,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
$periodTypes = array('day', 'periods');
$idSites = Piwik_SitesManager_API::getInstance()->getAllSitesId();
- $time = Piwik_Date::factory(self::$fixture->dateTime)->subDay(1)->getTimestamp();
+ $time = Date::factory(self::$fixture->dateTime)->subDay(1)->getTimestamp();
foreach ($periodTypes as $period) {
foreach ($idSites as $idSite) {