Language selection on config screen

This commit is contained in:
Nicolas Lœuillet
2015-10-01 16:28:38 +02:00
committed by Jeremy Benoist
parent 3d3ed955f1
commit c89d35e851
11 changed files with 136 additions and 12 deletions

View File

@ -46,7 +46,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$data = array(
'config[theme]' => 0,
'config[items_per_page]' => '30',
'config[language]' => 'fr_FR',
'config[language]' => 'en',
);
$client->submit($form, $data);
@ -65,12 +65,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
array(array(
'config[theme]' => 0,
'config[items_per_page]' => '',
'config[language]' => 'fr_FR',
)),
array(array(
'config[theme]' => 0,
'config[items_per_page]' => '12',
'config[language]' => '',
'config[language]' => 'en',
)),
);
}