Skip to content

Commit

Permalink
Maybe this could help the random midnight test failure?
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Oct 20, 2014
1 parent 81e3628 commit d6a86e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -70,7 +70,7 @@ public function getApiForTesting()
$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
)));
}
Expand Down

0 comments on commit d6a86e8

Please sign in to comment.