]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
ConfigureControllerTest.php: update expected languages number to 6
authornodiscc <nodiscc@gmail.com>
Sun, 22 Nov 2020 11:06:14 +0000 (11:06 +0000)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 11:06:14 +0000 (11:06 +0000)
Following the addition of russian translations in #1642
Fixes https://github.com/shaarli/Shaarli/issues/1647

tests/front/controller/admin/ConfigureControllerTest.php

index d82db0a7c3e4692b4fb9bd9be81bdde4def86a11..13644df9963b4655dd1b3cd47e652c65cf85ec18 100644 (file)
@@ -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']);
     }