diff --git a/tests/PHPUnit/Integration/ImportLogsTest.php b/tests/PHPUnit/Integration/ImportLogsTest.php index 0cd193ba2f0df4005f60f69d35bab4badf008b43..41f6f4bb29b656136c0a35a9d41865a9f5676be7 100755 --- a/tests/PHPUnit/Integration/ImportLogsTest.php +++ b/tests/PHPUnit/Integration/ImportLogsTest.php @@ -50,20 +50,21 @@ class Test_Piwik_Integration_ImportLogs extends IntegrationTestCase ); // Running a few interesting tests for Log Replay use case - if (getenv('MYSQL_ADAPTER') != 'MYSQLI') { // Mysqli rounds latitude/longitude - $apiMethods = array('Live.getLastVisitsDetails', - 'Actions', - 'VisitorInterest', - 'VisitFrequency' - ); - $apis[] = array($apiMethods, array( - 'idSite' => self::$fixture->idSite, - 'date' => '2012-08-09,2014-04-01', - 'periods' => 'range', - 'otherRequestParameters' => array( - 'filter_limit' => 1000 - ))); + $apiMethods = array(); + if (getenv('MYSQL_ADAPTER') != 'MYSQLI') { + // Mysqli rounds latitude/longitude + $apiMethods = array('Live.getLastVisitsDetails'); } + $apiMethods[] = 'Actions'; + $apiMethods[] = 'VisitorInterest'; + $apiMethods[] = 'VisitFrequency'; + $apis[] = array($apiMethods, array( + 'idSite' => self::$fixture->idSite, + 'date' => '2012-08-09,2014-04-01', + 'periods' => 'range', + 'otherRequestParameters' => array( + 'filter_limit' => 1000 + ))); return $apis; }