diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-24 13:39:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 13:39:09 +0100 |
commit | e4b8330e459b598328bf250208386c06ec257b08 (patch) | |
tree | 027fc993e860818b4790eca159a911f7576ff022 /tests/front/controller | |
parent | 51580efbfff4cb812b6f7027ed8249b7dbeb4d05 (diff) | |
parent | 05c616f7a08936108d6feee4460dca9407e83d9f (diff) | |
download | Shaarli-e4b8330e459b598328bf250208386c06ec257b08.tar.gz Shaarli-e4b8330e459b598328bf250208386c06ec257b08.tar.zst Shaarli-e4b8330e459b598328bf250208386c06ec257b08.zip |
Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest
ConfigureControllerTest.php: update expected languages number to 6
Diffstat (limited to 'tests/front/controller')
-rw-r--r-- | tests/front/controller/admin/ConfigureControllerTest.php | 2 |
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 | } |