Skip to content
Extraits de code Groupes Projets
Valider 9f298d8a rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

update columns again after loading all the plugins, maybe this makes the tests work again?

parent b28193b0
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -179,8 +179,6 @@ class Fixture extends PHPUnit_Framework_Assert ...@@ -179,8 +179,6 @@ class Fixture extends PHPUnit_Framework_Assert
static::loadAllPlugins($this->getTestEnvironment(), $this->testCaseClass); static::loadAllPlugins($this->getTestEnvironment(), $this->testCaseClass);
ColumnsUpdates::update();
$_GET = $_REQUEST = array(); $_GET = $_REQUEST = array();
$_SERVER['HTTP_REFERER'] = ''; $_SERVER['HTTP_REFERER'] = '';
...@@ -304,6 +302,8 @@ class Fixture extends PHPUnit_Framework_Assert ...@@ -304,6 +302,8 @@ class Fixture extends PHPUnit_Framework_Assert
Log::info("Plugin loading messages: %s", implode(" --- ", $messages)); Log::info("Plugin loading messages: %s", implode(" --- ", $messages));
} }
ColumnsUpdates::update();
// Activate them // Activate them
foreach($plugins as $name) { foreach($plugins as $name) {
if (!$pluginsManager->isPluginActivated($name)) { if (!$pluginsManager->isPluginActivated($name)) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter