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

Skip test earlier.

Trying to fix: PHP Fatal error:  Call to a member function getCurrency() on a non-object in /home/travis/build/piwik/piwik/plugins/Live/API.php on line 554
https://travis-ci.org/piwik/piwik/jobs/22318726
Note: this should not happen really and I'm puzzled... especially as it works on other PHP versions...
parent 13490ae4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -23,11 +23,6 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase
* @group Integration
*/
public function testApi($api, $params)
{
$this->runApiTests($api, $params);
}
public function getApiForTesting()
{
// on Travis this test seg faults for no reason eg: https://github.com/piwik/piwik/commit/94d0ce393b2c496cda571571a0425af846406fda
......@@ -35,6 +30,12 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase
if($isPhp53) {
$this->markTestSkipped("Skipping this test as it seg faults on php 5.3 (bug triggered on travis)");
}
$this->runApiTests($api, $params);
}
public function getApiForTesting()
{
// we will test all segments from all plugins
Fixture::loadAllPlugins();
......
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