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
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-10-20 06:11:35 +0400
committermattab <matthieu.aubry@gmail.com>2014-10-20 06:11:35 +0400
commitd6a86e8cb9bace90376bce2878ff2877c80f336a (patch)
treeed32db13dbe481a5ac7e6d189396f665ffd5917e /tests
parent81e3628243cf20e3b44c03f3a715b7feed8e737f (diff)
Maybe this could help the random midnight test failure?
Diffstat (limited to 'tests')
-rwxr-xr-xtests/PHPUnit/System/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/System/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php b/tests/PHPUnit/System/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php
index e38c680f30..8c4ec84d98 100755
--- a/tests/PHPUnit/System/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php
+++ b/tests/PHPUnit/System/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php
@@ -23,7 +23,7 @@ class PeriodIsRangeDateIsLastNMetadataAndNormalAPITest extends SystemTestCase
public static function setUpBeforeClass()
{
- self::$fixture->dateTime = Date::factory('today')->getDateTime();
+ self::$fixture->dateTime = Date::factory('yesterday')->getDateTime();
parent::setUpBeforeClass();
}
@@ -70,7 +70,7 @@ class PeriodIsRangeDateIsLastNMetadataAndNormalAPITest extends SystemTestCase
$result[] = array($apiToCall, array('idSite' => $idSite, 'date' => $date,
'periods' => array('range'), 'segment' => $segment,
'otherRequestParameters' => array(
- 'lastMinutes' => 60 * 24,
+ 'lastMinutes' => 60 * 24 * 2,
'visitorId' => $visitorId // testing getLastVisitsForVisitor requires a visitor ID
)));
}