Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest
ConfigureControllerTest.php: update expected languages number to 6
This commit is contained in:
commit
e4b8330e45
2 changed files with 1 additions and 1 deletions
0
inc/languages/ru/LC_MESSAGES/shaarli.po
Executable file → Normal file
0
inc/languages/ru/LC_MESSAGES/shaarli.po
Executable file → Normal 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']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue