Skip to content
Extraits de code Groupes Projets
Valider aa810b6e rédigé par mattab's avatar mattab
Parcourir les fichiers

Don't skip all tests on mysqli

parent 5d83c81c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -50,20 +50,21 @@ class Test_Piwik_Integration_ImportLogs extends IntegrationTestCase ...@@ -50,20 +50,21 @@ class Test_Piwik_Integration_ImportLogs extends IntegrationTestCase
); );
// Running a few interesting tests for Log Replay use case // Running a few interesting tests for Log Replay use case
if (getenv('MYSQL_ADAPTER') != 'MYSQLI') { // Mysqli rounds latitude/longitude $apiMethods = array();
$apiMethods = array('Live.getLastVisitsDetails', if (getenv('MYSQL_ADAPTER') != 'MYSQLI') {
'Actions', // Mysqli rounds latitude/longitude
'VisitorInterest', $apiMethods = array('Live.getLastVisitsDetails');
'VisitFrequency'
);
$apis[] = array($apiMethods, array(
'idSite' => self::$fixture->idSite,
'date' => '2012-08-09,2014-04-01',
'periods' => 'range',
'otherRequestParameters' => array(
'filter_limit' => 1000
)));
} }
$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; return $apis;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter