Skip to content
Extraits de code Groupes Projets
Valider 56c1d4db rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fix TrackerTest provideContainerConfig() method. Now that it is called during...

Fix TrackerTest provideContainerConfig() method. Now that it is called during test case setup, check the const is defined before defining it. Otherwise, there will be an error regarding redefining the constant.
parent cc235640
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -308,7 +308,9 @@ class TrackerTest extends IntegrationTestCase
public function provideContainerConfig()
{
define('DEBUG_FORCE_SCHEDULED_TASKS', 1);
if (!defined('DEBUG_FORCE_SCHEDULED_TASKS')) {
define('DEBUG_FORCE_SCHEDULED_TASKS', 1);
}
$testingEnvironment = new \Piwik_TestingEnvironment();
......
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