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

Green hope

parent e7b839d0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -119,10 +119,9 @@ class AutoSuggestAPITest extends SystemTestCase ...@@ -119,10 +119,9 @@ class AutoSuggestAPITest extends SystemTestCase
public function getAnotherApiForTesting() public function getAnotherApiForTesting()
{ {
$segments = self::getSegmentsMetadata(self::$fixture->idSite);
$apiForTesting = array(); $apiForTesting = array();
$segments = \Piwik\Plugins\API\API::getInstance()->getSegmentsMetadata(self::$fixture->idSite);
foreach ($segments as $segment) { foreach ($segments as $segment) {
if(self::isTravisCI() && $segment['segment'] == 'deviceType') { if(self::isTravisCI() && $segment['segment'] == 'deviceType') {
// test started failing after bc19503 and I cannot understand why // test started failing after bc19503 and I cannot understand why
......
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