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

Mark test as skipped instead of failed when the language files are not synchronised cc @sgiehl

parent 909c2fba
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -99,10 +99,11 @@ class LanguagesManagerTest extends \PHPUnit_Framework_TestCase
if ($translationWriter->wasFiltered()) {
$translationWriter->saveTemporary();
$this->fail(implode("\n", $translationWriter->getFilterMessages()) . "\n"
$this->markTestSkipped(implode("\n", $translationWriter->getFilterMessages()) . "\n"
. 'Translation file errors detected in ' . $language . "...\n"
. "To overwrite you could manually fix the language files, or run the following command may work if you have access to oTrance: \n"
. "$ ./console translations:update [--plugin=XYZ] \n");
. "To synchronise the language files with the english strings, you can manually edit the language files or run the following command may work if you have access to oTrance: \n"
. "$ ./console translations:update [--plugin=XYZ] \n"
);
}
}
......
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