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:
authorStefan Giehl <stefan@matomo.org>2021-09-01 11:00:26 +0300
committerGitHub <noreply@github.com>2021-09-01 11:00:26 +0300
commitba1facfd1ecb4e618f3162aedbdb3170e9461e50 (patch)
treee9a1b4561753c0b46608fb9280addd9623f03d5f /tests/PHPUnit/Unit
parentfb9a8736b0d4fcd6cedcd7df9a3a6eae6c3d3f5f (diff)
Prepares Weblate migration (#17927)
* Add translation stats to readme * improve generate-intl command * update readme * remove translation workflow * allow empty translation files * Adds internal parameter to ignore config in LanguageManager API * ignore missing translators * extend commands to ignore language info * Update lang/README.md Co-authored-by: Lukas Winkler <git@lw1.at> * Update commands to use Weblate instead of Transifex API * Replace remaining Transifex occurences * submodule updates * fix/update tests Co-authored-by: Lukas Winkler <git@lw1.at>
Diffstat (limited to 'tests/PHPUnit/Unit')
-rw-r--r--tests/PHPUnit/Unit/Translation/FilesTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Unit/Translation/FilesTest.php b/tests/PHPUnit/Unit/Translation/FilesTest.php
index 9a7f162138..ad41a3fba4 100644
--- a/tests/PHPUnit/Unit/Translation/FilesTest.php
+++ b/tests/PHPUnit/Unit/Translation/FilesTest.php
@@ -24,7 +24,7 @@ class FilesTest extends \PHPUnit\Framework\TestCase
{
$json = json_decode(file_get_contents($file), true);
- $this->assertNotEmpty($json, "translation file $file seems to be corrupted or empty");
+ $this->assertIsArray($json, "translation file $file seems to be corrupted or empty");
}
public function getTranslationFiles()