From: ArthurHoaro Date: Tue, 24 Nov 2020 12:39:09 +0000 (+0100) Subject: Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e4b8330e459b598328bf250208386c06ec257b08;hp=51580efbfff4cb812b6f7027ed8249b7dbeb4d05;p=github%2Fshaarli%2FShaarli.git Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest ConfigureControllerTest.php: update expected languages number to 6 --- diff --git a/inc/languages/ru/LC_MESSAGES/shaarli.po b/inc/languages/ru/LC_MESSAGES/shaarli.po old mode 100755 new mode 100644 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']); }