aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-11-22 11:06:14 +0000
committerGitHub <noreply@github.com>2020-11-22 11:06:14 +0000
commit70507b86037450450a5ac74597304f2ee1cb4c0d (patch)
tree388f0251b1889adf836632dafe47d1e49af20a61 /tests/front/controller
parent51580efbfff4cb812b6f7027ed8249b7dbeb4d05 (diff)
downloadShaarli-70507b86037450450a5ac74597304f2ee1cb4c0d.tar.gz
Shaarli-70507b86037450450a5ac74597304f2ee1cb4c0d.tar.zst
Shaarli-70507b86037450450a5ac74597304f2ee1cb4c0d.zip
ConfigureControllerTest.php: update expected languages number to 6
Following the addition of russian translations in #1642 Fixes https://github.com/shaarli/Shaarli/issues/1647
Diffstat (limited to 'tests/front/controller')
-rw-r--r--tests/front/controller/admin/ConfigureControllerTest.php2
1 files changed, 1 insertions, 1 deletions
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
62 static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']); 62 static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']);
63 static::assertSame('api.enabled', $assignedVariables['api_enabled']); 63 static::assertSame('api.enabled', $assignedVariables['api_enabled']);
64 static::assertSame('api.secret', $assignedVariables['api_secret']); 64 static::assertSame('api.secret', $assignedVariables['api_secret']);
65 static::assertCount(5, $assignedVariables['languages']); 65 static::assertCount(6, $assignedVariables['languages']);
66 static::assertArrayHasKey('gd_enabled', $assignedVariables); 66 static::assertArrayHasKey('gd_enabled', $assignedVariables);
67 static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']); 67 static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']);
68 } 68 }