Skip to content

Commit

Permalink
Refs matomo-org#4063, test for this fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benaka Moorthi committed Sep 12, 2013
1 parent 869777a commit f0f5edd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tests/PHPUnit/Integration/CsvExportTest.php
Expand Up @@ -45,13 +45,15 @@ public function getApiForTesting()
'language' => 'de',
'testSuffix' => '_xp1_inner1_trans-de')),

// TODO: we cannot currently test the csv output of Live.getLastVisitsDetails. The API method includes
// random output. Normally we remove this when it's in XML output, but it's harder to do that w/
// CSV output. For now, we use compareOutput => false to just check that no errors result.
array('Live.getLastVisitsDetails', array('idSite' => $idSite,
'date' => $dateTime,
'format' => 'csv',
'compareOutput' => false))
array('Live.getLastVisitsDetails', array('idSite' => $idSite,
'date' => $dateTime,
'format' => 'csv',
'otherRequestParameters' => array(
'hideColumns' => 'serverDate,actionDetails,serverTimestamp,serverTimePretty,'
. 'serverDatePretty,serverDatePrettyFirstAction,serverTimePrettyFirstAction,'
. 'goalTimePretty,serverTimePretty,visitorId,visitServerHour,date,'
. 'prettyDate,serverDateTimePrettyFirstAction'
)))
);
}

Expand Down
Binary file not shown.

0 comments on commit f0f5edd

Please sign in to comment.