Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest

ConfigureControllerTest.php: update expected languages number to 6
This commit is contained in:
ArthurHoaro 2020-11-24 13:39:09 +01:00 committed by GitHub
commit e4b8330e45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

0
inc/languages/ru/LC_MESSAGES/shaarli.po Executable file → Normal file
View file

View file

@ -62,7 +62,7 @@ public function testIndex(): void
static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']); static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']);
static::assertSame('api.enabled', $assignedVariables['api_enabled']); static::assertSame('api.enabled', $assignedVariables['api_enabled']);
static::assertSame('api.secret', $assignedVariables['api_secret']); static::assertSame('api.secret', $assignedVariables['api_secret']);
static::assertCount(5, $assignedVariables['languages']); static::assertCount(6, $assignedVariables['languages']);
static::assertArrayHasKey('gd_enabled', $assignedVariables); static::assertArrayHasKey('gd_enabled', $assignedVariables);
static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']); static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']);
} }