Skip to content

Commit

Permalink
improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Dec 13, 2014
1 parent b2e13df commit d1986d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getApiForTesting()

$apiToCall = array('Actions.getPageUrls',
'VisitsSummary.get',
'UserSettings.getResolution',
'Resolution.getResolution',
'VisitFrequency.get',
'VisitTime.getVisitInformationPerServerTime');

Expand Down Expand Up @@ -109,14 +109,14 @@ public function test_checkArchiveRecords_whenPeriodIsRange()
$tests = array(
// TODO Implement fix, then remove the +3 below
'archive_blob_2010_12' => ( ($expectedActionsBlobs+3) /*Actions*/
+ 2 /* UserSettings */
+ 2 /* Resolution */
+ 2 /* VisitTime */) * 3,

/**
* In Each "Period=range" Archive, we expect following non zero numeric entries:
* 5 metrics + 1 flag // VisitsSummary
* + 2 metrics + 1 flag // Actions
* + 1 flag // UserSettings
* + 1 flag // Resolution
* + 1 flag // VisitTime
* = 11
*
Expand Down

0 comments on commit d1986d1

Please sign in to comment.