summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-06 11:41:32 -0500
committerFrederic Guillot <fred@kanboard.net>2016-11-06 11:41:32 -0500
commitf758ddfc5e7d5d26d9a23b8c75fa6884159ecd72 (patch)
tree901f0dd311366d14f9d6b314d3292540893f0654 /tests
parent3cde9dd8774e7fcd700a634bb00a55f8c349ccbe (diff)
Improve unit test for translation files
Diffstat (limited to 'tests')
-rw-r--r--tests/units/Locale/LocaleTest.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/units/Locale/LocaleTest.php b/tests/units/Locale/LocaleTest.php
index 976dfc58..c10b1bc9 100644
--- a/tests/units/Locale/LocaleTest.php
+++ b/tests/units/Locale/LocaleTest.php
@@ -10,13 +10,7 @@ class LocaleTest extends Base
$locale = require($file . '/translations.php');
foreach ($locale as $k => $v) {
- if (strpos($k, '%B %e, %Y') !== false) {
- continue;
- }
-
- if (strpos($k, '%b %e, %Y') !== false) {
- continue;
- }
+ $this->assertNotEmpty($v, 'Empty value for the key "'.$k.'" in translation '.basename($file));
foreach (array('%s', '%d') as $placeholder) {
$this->assertEquals(