From 70507b86037450450a5ac74597304f2ee1cb4c0d Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 22 Nov 2020 11:06:14 +0000 Subject: ConfigureControllerTest.php: update expected languages number to 6 Following the addition of russian translations in #1642 Fixes https://github.com/shaarli/Shaarli/issues/1647 --- tests/front/controller/admin/ConfigureControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/front/controller/admin/ConfigureControllerTest.php b/tests/front/controller/admin/ConfigureControllerTest.php index d82db0a7..13644df9 100644 --- a/tests/front/controller/admin/ConfigureControllerTest.php +++ b/tests/front/controller/admin/ConfigureControllerTest.php @@ -62,7 +62,7 @@ class ConfigureControllerTest extends TestCase static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']); static::assertSame('api.enabled', $assignedVariables['api_enabled']); static::assertSame('api.secret', $assignedVariables['api_secret']); - static::assertCount(5, $assignedVariables['languages']); + static::assertCount(6, $assignedVariables['languages']); static::assertArrayHasKey('gd_enabled', $assignedVariables); static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']); } -- cgit v1.2.3 From 05c616f7a08936108d6feee4460dca9407e83d9f Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 24 Nov 2020 13:35:37 +0100 Subject: chmod -x russian translation file --- inc/languages/ru/LC_MESSAGES/shaarli.po | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 inc/languages/ru/LC_MESSAGES/shaarli.po diff --git a/inc/languages/ru/LC_MESSAGES/shaarli.po b/inc/languages/ru/LC_MESSAGES/shaarli.po old mode 100755 new mode 100644 -- cgit v1.2.3