Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-11-19 09:57:58 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-19 09:57:58 +0300
commiteb8ecc396d60bc3b83994fe6efcb6cd42668c795 (patch)
tree89ca20d2484527dc68712b6ff73f4e3c6e735b44 /plugins
parent909c2fbab39277d5c7f8b940f51c1e043efb5e40 (diff)
Mark test as skipped instead of failed when the language files are not synchronised cc @sgiehl
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php b/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php
index 3ed219acf4..7b41c3f55e 100755
--- a/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php
+++ b/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php
@@ -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"
+ );
}
}