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

Fix build - how did I not think of this solution earlier...

parent 888e2e3a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -252,9 +252,6 @@ class TestRequestResponse
if (strpos($this->requestUrl['format'], 'json') === 0) {
$apiResponse = str_replace(' ', '\u00a0', $apiResponse);
}
if ($this->requestUrl['format'] === 'xml') {
$apiResponse = str_replace(' ', '', $apiResponse);
}
return $apiResponse;
}
}
\ No newline at end of file
......@@ -176,6 +176,14 @@ class PivotByQueryParamTest extends IntegrationTestCase
'pivotByColumnLimit' => -1
));
}
public function assertApiResponseEqualsExpected($apiMethod, $queryParams)
{
if(self::isPhpVersion53()) {
// 5.3.3 space encoding fail eg. https://travis-ci.org/piwik/piwik/jobs/35920420
$this->markTestSkipped();
}
$this->assertApiResponseEqualsExpected($apiMethod, $queryParams);
}
}
PivotByQueryParamTest::$fixture = new ManyVisitsWithMockLocationProvider();
\ No newline at end of file
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