diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-09-01 11:00:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 11:00:26 +0300 |
commit | ba1facfd1ecb4e618f3162aedbdb3170e9461e50 (patch) | |
tree | e9a1b4561753c0b46608fb9280addd9623f03d5f /tests | |
parent | fb9a8736b0d4fcd6cedcd7df9a3a6eae6c3d3f5f (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')
6 files changed, 8 insertions, 13 deletions
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata_year__LanguagesManager.getAvailableLanguageNames.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata_year__LanguagesManager.getAvailableLanguageNames.xml index 0186ba6d3f..f27a6388f6 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata_year__LanguagesManager.getAvailableLanguageNames.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata_year__LanguagesManager.getAvailableLanguageNames.xml @@ -280,5 +280,4 @@ <name>繁體中文</name> <english_name>Traditional Chinese</english_name> </row> -</result> - +</result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml index eccf657358..ecd14db85a 100644 --- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml +++ b/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml @@ -81,8 +81,6 @@ <avg_time_on_dimension>0</avg_time_on_dimension> - - </row> <row> @@ -123,8 +121,6 @@ <avg_time_on_dimension>0</avg_time_on_dimension> - - </row> </subtable> </row> 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() diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png index 7765aba1c6..412f49b00c 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1fe0595c6839632c82a240f8afffd6edd62fde19095d5f17db27ee1b0517cd52 -size 5136262 +oid sha256:0b0a79eab39fdae3db8868a0bfa8bb9ddb6e24109d67a9770750879905ea3b5b +size 5187957 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins.png index e3243baf71..5c6e98ae95 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f72555e443655cbd8a8cb5a748693a79e1ea58d64a63d9e00dfee99d23052e11 -size 1084898 +oid sha256:adea21d64c4043f6c74d766fae109c778ccf5925d4821cb06d02572ec15f416c +size 1084865 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins_no_internet.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins_no_internet.png index b03ea8a5cb..a3a9307440 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins_no_internet.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_plugins_no_internet.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eae87c89382a0090f86042e3136f9bbf24772154292b4e6909472d30282f751d -size 1086330 +oid sha256:22f5133b2fc7be7178753cf6e620131e07dd9e8c40ec2a0dcda2b1b010245d01 +size 1086277 |