diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-19 09:57:58 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-19 09:57:58 +0300 |
commit | eb8ecc396d60bc3b83994fe6efcb6cd42668c795 (patch) | |
tree | 89ca20d2484527dc68712b6ff73f4e3c6e735b44 /plugins | |
parent | 909c2fbab39277d5c7f8b940f51c1e043efb5e40 (diff) |
Mark test as skipped instead of failed when the language files are not synchronised cc @sgiehl
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php | 7 |
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" + ); } } |